summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/sprite.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sprite.scm b/examples/sprite.scm
index 86a2788..92ab364 100644
--- a/examples/sprite.scm
+++ b/examples/sprite.scm
@@ -13,5 +13,6 @@
(add-hook! load-hook load)
(add-hook! draw-hook draw)
+(add-hook! quit-hook abort-game)
(run-game)