summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rwxr-xr-xsandbox4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox b/sandbox
index 4004ab1..68302f9 100755
--- a/sandbox
+++ b/sandbox
@@ -40,11 +40,11 @@
(start-2d-repl)
-(add-hook! window-close-hook quit-game)
+(add-hook! window-close-hook stop-game-loop)
(display "Welcome to the guile-2d sandbox. Happy hacking!\n")
(with-window (make-window #:title "Guile-2D Sandbox")
- (run-game-loop))
+ (start-game-loop))
(display "Bye!\n")