From 9d44d0b74847e7e9ddb8b80724b04e3e71c8f5ab Mon Sep 17 00:00:00 2001 From: alestiago Date: Tue, 8 Mar 2022 13:23:56 +0000 Subject: [PATCH] docs: included FIXME comment --- lib/game/pinball_game.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index ef51656a..cee53a0e 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -85,7 +85,8 @@ class PinballGame extends Forge2DGame with FlameBloc, KeyboardEvents { super.onMount(); // TODO(erickzanardo): Clean this once the issue is solved: // https://github.com/flame-engine/flame/issues/1417 - await Future.delayed(const Duration(milliseconds: 500)); + // FIXME(erickzanardo): when mounted the initial potion is not fully + // reached. await _leftFlipper.hasMounted.future; await _rightFlipper.hasMounted.future;