aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 3d14bd0..8d0933f 100644
--- a/src/ch/epfl/xblast/server/GameState.java
+++ b/src/ch/epfl/xblast/server/GameState.java
@@ -377,7 +377,7 @@ public final class GameState {
377 List<Bomb> ownedBombs = bombOwnerMap.get(p.id()); 377 List<Bomb> ownedBombs = bombOwnerMap.get(p.id());
378 if (ownedBombs != null && ownedBombs.size() >= p.maxBombs()) continue; 378 if (ownedBombs != null && ownedBombs.size() >= p.maxBombs()) continue;
379 379
380 Bomb b = new Bomb(p.id(), p.position().containingCell(), Ticks.BOMB_FUSE_TICKS, p.bombRange()); 380 Bomb b = new Bomb(p.id(), p.position().containingCell(), Ticks.BOMB_FUSE_TICKS - 1, p.bombRange());
381 bombedCells.add(b.position()); 381 bombedCells.add(b.position());
382 bombs1.add(b); 382 bombs1.add(b);
383 } 383 }