diff --git a/lib/game/bloc/game_state.dart b/lib/game/bloc/game_state.dart index 02098c3b..88071471 100644 --- a/lib/game/bloc/game_state.dart +++ b/lib/game/bloc/game_state.dart @@ -25,6 +25,7 @@ class GameState extends Equatable { required this.balls, required this.bonusHistory, }) : assert(score >= 0, "Score can't be negative"), + assert(multiplier > 0, 'Multiplier must be greater than zero'), assert(balls >= 0, "Number of balls can't be negative"); const GameState.initial()