diff options
author | pacien | 2018-02-04 13:50:14 +0100 |
---|---|---|
committer | pacien | 2018-02-04 13:50:14 +0100 |
commit | a817cb8cb7f6d8c6fdf7120f7f6a405f69fc4af4 (patch) | |
tree | b15bb136201f0125653f68d305de9ced673b4851 | |
parent | 4065355f84658220193bff3e65dcb6af4a0cd748 (diff) | |
download | wallj-a817cb8cb7f6d8c6fdf7120f7f6a405f69fc4af4.tar.gz |
Set max bomb timer to one digit
Signed-off-by: pacien <pacien.trangirard@pacien.net>
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/block/BombBlock.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/block/BombBlock.java b/src/main/java/fr/umlv/java/wallj/block/BombBlock.java index 5570583..59ce549 100644 --- a/src/main/java/fr/umlv/java/wallj/block/BombBlock.java +++ b/src/main/java/fr/umlv/java/wallj/block/BombBlock.java | |||
@@ -33,7 +33,7 @@ public class BombBlock extends JBoxBlock { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | private void incrementTimer() { | 35 | private void incrementTimer() { |
36 | timer = timer.compareTo(MAX_TIME) <= 0 ? timer.plus(TIME_INCREMENT) : MIN_TIME; | 36 | timer = timer.compareTo(MAX_TIME) < 0 ? timer.plus(TIME_INCREMENT) : MIN_TIME; |
37 | } | 37 | } |
38 | 38 | ||
39 | private void decrementTimer(Duration d) { | 39 | private void decrementTimer(Duration d) { |