From 2f8f3e91456bd7aa2cc8dfaac52ca9a5b2b1d1b4 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 30 Mar 2022 14:01:18 +0100 Subject: [PATCH] docs: updated doc comment --- lib/game/components/flutter_forest.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }