diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index ef51656a..f805ddb8 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -142,4 +142,10 @@ class PinballGame extends Forge2DGame with FlameBloc, KeyboardEvents { super.onAttach(); spawnBall(); } + + @override + void onAttach() { + super.onAttach(); + spawnBall(); + } }