From 6e1e00e7438acc477c5574935b3ecb9c140d0a22 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 18 May 2014 18:58:14 -0400 Subject: Fix sandbox. * sandbox: Use start/stop-game-loop procedures. --- sandbox | 4 ++-- 1 file 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") -- cgit v1.2.3