From ecda69e79596bd4d618c55c1b6b542e343fd48a5 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 27 Apr 2022 14:31:58 +0100 Subject: [PATCH] fix: renamed theme to CharacterTheme --- .../flutter_forest/behaviors/flutter_forest_bonus_behavior.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 41e416d6..8bf41bc9 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 @@ -26,7 +26,7 @@ class FlutterForestBonusBehavior extends Component .read() .add(const BonusActivated(GameBonus.dashNest)); gameRef.add( - ControlledBall.bonus(theme: gameRef.theme) + ControlledBall.bonus(characterTheme: gameRef.characterTheme) ..initialPosition = Vector2(17.2, -52.7), ); parent.firstChild()?.playing = true;