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:
Juliana Sims 2024-05-25 16:44:28 -04:00
parent 6e7092d38b
commit a125a1475d
No known key found for this signature in database
GPG key ID: 2A00BD4B0090029E
2 changed files with 4 additions and 9 deletions
modules/game

View file

@ -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)