Press any key to reset game during credits.
This commit is contained in:
parent
2151abef57
commit
1b51dde9bc
1 changed files with 2 additions and 4 deletions
6
game.scm
6
game.scm
|
@ -514,10 +514,8 @@
|
||||||
;; REMOVE BEFORE RELEASE!!!!
|
;; REMOVE BEFORE RELEASE!!!!
|
||||||
((string=? key key:confirm)
|
((string=? key key:confirm)
|
||||||
(next-level!))))
|
(next-level!))))
|
||||||
('win
|
;; Pressing any key resets the game.
|
||||||
(cond
|
('win (reset-game!)))))
|
||||||
((string=? key key:confirm)
|
|
||||||
(reset-game!)))))))
|
|
||||||
|
|
||||||
;; Canvas and event loop setup
|
;; Canvas and event loop setup
|
||||||
(define canvas (get-element-by-id "canvas"))
|
(define canvas (get-element-by-id "canvas"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue