aboutsummaryrefslogtreecommitdiff
path: root/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch')
-rw-r--r--src/ch/epfl/xblast/server/GameState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/GameState.java b/src/ch/epfl/xblast/server/GameState.java
index 8d0933f..ab6f2a6 100644
--- a/src/ch/epfl/xblast/server/GameState.java
+++ b/src/ch/epfl/xblast/server/GameState.java
@@ -338,7 +338,7 @@ public final class GameState {
338 */ 338 */
339 private static List<Bomb> explodingBombs(List<Bomb> bombs, Set<Cell> blastedCells) { 339 private static List<Bomb> explodingBombs(List<Bomb> bombs, Set<Cell> blastedCells) {
340 return bombs.stream() 340 return bombs.stream()
341 .filter(b -> blastedCells.contains(b.position()) || b.fuseLength() == 0) 341 .filter(b -> blastedCells.contains(b.position()) || b.fuseLength() <= 1)
342 .collect(Collectors.toList()); 342 .collect(Collectors.toList());
343 } 343 }
344 344