diff --git a/lib/game/components/flutter_forest.dart b/lib/game/components/flutter_forest.dart index dbc92693..37ae6229 100644 --- a/lib/game/components/flutter_forest.dart +++ b/lib/game/components/flutter_forest.dart @@ -134,9 +134,9 @@ abstract class DashNestBumper extends BodyComponent await super.onLoad(); await _loadSprites(); - // TODO(alestiago): Look into using onNewState instead. - // onNewState(gameRef.read()); - // Exception: build context is not available yet + // TODO(erickzanardo): Look into using onNewState instead. + // Currently doing: onNewState(gameRef.read()) will throw an + // `Exception: build context is not available yet` deactivate(); await add(_spriteComponent); }