Increase default bomb countdown
Because of how the countdown works, the fuse was one tick shorter than intended; this should fix that and allow players to push a lit bomb exactly once before having to retreat
This commit is contained in:
parent
6e7092d38b
commit
a125a1475d
2 changed files with 4 additions and 9 deletions
modules/game
|
@ -357,7 +357,7 @@
|
|||
(define alive? (spawn ^cell #t))
|
||||
(define countdown (spawn ^cell -1))
|
||||
(define pushed? (spawn ^cell))
|
||||
(define* (light-fuse #:optional (time 2))
|
||||
(define* (light-fuse #:optional (time 3))
|
||||
($ countdown time))
|
||||
(match-lambda*
|
||||
(('type) 'bomb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue