diff --git a/lib/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior.dart b/lib/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior.dart index 1efbb0af..41e416d6 100644 --- a/lib/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior.dart +++ b/lib/game/components/flutter_forest/behaviors/flutter_forest_bonus_behavior.dart @@ -13,6 +13,9 @@ class FlutterForestBonusBehavior extends Component final bumpers = parent.children.whereType(); for (final bumper in bumpers) { + // TODO(alestiago): Refactor subscription management once the following is + // merged: + // https://github.com/flame-engine/flame/pull/1538 bumper.bloc.stream.listen((state) { final hasBonus = bumpers.every( (bumper) => bumper.bloc.state == DashNestBumperState.active,