diff --git a/lib/game/view/pinball_game_page.dart b/lib/game/view/pinball_game_page.dart index b019a88e..3a0f5e24 100644 --- a/lib/game/view/pinball_game_page.dart +++ b/lib/game/view/pinball_game_page.dart @@ -31,14 +31,14 @@ class PinballGamePage extends StatelessWidget { @override Widget build(BuildContext context) { - final selectedCharacter = + final characterTheme = context.read().state.characterTheme; final audio = context.read(); final pinballAudio = context.read(); final game = isDebugMode - ? DebugPinballGame(characterTheme: selectedCharacter, audio: audio) - : PinballGame(characterTheme: selectedCharacter, audio: audio); + ? DebugPinballGame(characterTheme: characterTheme, audio: audio) + : PinballGame(characterTheme: characterTheme, audio: audio); final loadables = [ ...game.preLoadAssets(), diff --git a/web/index.html b/web/index.html index 3e4978d1..37e17170 100644 --- a/web/index.html +++ b/web/index.html @@ -19,7 +19,31 @@ - + + + + + + + + + + + + + + + + + + + + @@ -107,4 +131,4 @@ - + \ No newline at end of file