diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-01-24 19:53:05 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-01-24 20:23:12 -0500 |
commit | 76217a1436db38c197cb08523d8861bb09c97728 (patch) | |
tree | f3b0060203b5c6480d918d0ea060caea4c72cb44 | |
parent | 483ea5498e5c18e49a854dda9e9f752b4d7b0dfd (diff) |
examples: sprite: Quit the demo when close button is pressed.
-rw-r--r-- | examples/sprite.scm | 1 |
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) |