summaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-05-18 18:58:14 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-05-18 18:58:14 -0400
commit6e1e00e7438acc477c5574935b3ecb9c140d0a22 (patch)
treeb6e15e7481225c966ff19197fc9f794bae8ec734 /sandbox
parent88d3b0cc3e739c118c8738295f55e735bea50e42 (diff)
Fix sandbox.
* sandbox: Use start/stop-game-loop procedures.
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")