From 1b51dde9bc3998edb498af4a1899b80efec573ab Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 23 May 2024 16:56:26 -0400 Subject: [PATCH] Press any key to reset game during credits. --- game.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/game.scm b/game.scm index 4c160df..79867b1 100644 --- a/game.scm +++ b/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"))