diff options
Diffstat (limited to 'src/ch')
-rw-r--r-- | src/ch/epfl/xblast/server/GameStateTransitioner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/GameStateTransitioner.java b/src/ch/epfl/xblast/server/GameStateTransitioner.java index 55d3cda..5c22f25 100644 --- a/src/ch/epfl/xblast/server/GameStateTransitioner.java +++ b/src/ch/epfl/xblast/server/GameStateTransitioner.java | |||
@@ -87,7 +87,7 @@ final class GameStateTransitioner { | |||
87 | .concat(Sq.constant(Block.getRandomBonusBlock())); | 87 | .concat(Sq.constant(Block.getRandomBonusBlock())); |
88 | 88 | ||
89 | else if (b.isBonus()) | 89 | else if (b.isBonus()) |
90 | return Sq.repeat(Ticks.BONUS_DISAPPEARING_TICKS, b) | 90 | return bs0.limit(Ticks.BONUS_DISAPPEARING_TICKS) |
91 | .concat(Sq.constant(Block.FREE)); | 91 | .concat(Sq.constant(Block.FREE)); |
92 | 92 | ||
93 | return bs0.tail(); | 93 | return bs0.tail(); |