summaryrefslogtreecommitdiff
path: root/2d/stage.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-11-03 17:59:18 -0500
committerDavid Thompson <dthompson2@worcester.edu>2013-11-03 17:59:18 -0500
commit5ea47905046917ae79dde3155cd78268479c48fc (patch)
treeb7dcf216706fd7444897e64e8d8d6c65d25cef84 /2d/stage.scm
parent9ea9f27d90ed55f730f2ef95d26f54542f1ac6bd (diff)
Add event observer to scene.
Some convenient default events are provided to make quitting the game easy for new developers.
Diffstat (limited to '2d/stage.scm')
-rw-r--r--2d/stage.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/stage.scm b/2d/stage.scm
index 27b29ba..fee18a3 100644
--- a/2d/stage.scm
+++ b/2d/stage.scm
@@ -87,7 +87,7 @@
(define (stage-trigger stage event . args)
(with-agenda (stage-agenda stage)
- #f))
+ (apply scene-trigger (stage-scene stage) event args)))
;;;
;;; Stage management