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!!!!
|
||||
((string=? key key:confirm)
|
||||
(next-level!))))
|
||||
('win
|
||||
(cond
|
||||
((string=? key key:confirm)
|
||||
(reset-game!)))))))
|
||||
;; Pressing any key resets the game.
|
||||
('win (reset-game!)))))
|
||||
|
||||
;; Canvas and event loop setup
|
||||
(define canvas (get-element-by-id "canvas"))
|
||||
|
|
Loading…
Add table
Reference in a new issue