summaryrefslogtreecommitdiff
path: root/examples/guile-2048
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guile-2048')
-rwxr-xr-xexamples/guile-2048/guile-2048.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guile-2048/guile-2048.scm b/examples/guile-2048/guile-2048.scm
index d5ded0a..637650b 100755
--- a/examples/guile-2048/guile-2048.scm
+++ b/examples/guile-2048/guile-2048.scm
@@ -475,8 +475,8 @@
(start-2d-repl)
-(add-hook! window-close-hook quit-game)
+(add-hook! window-close-hook stop-game-loop)
(add-hook! draw-hook (lambda (dt alpha) (render)))
(with-window (make-window #:title "2048")
- (run-game-loop))
+ (start-game-loop))