summaryrefslogtreecommitdiff
path: root/2d/game-loop.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-11-03 17:24:57 -0500
committerDavid Thompson <dthompson2@worcester.edu>2013-11-03 17:24:57 -0500
commitbdbf1c6141ccf9345102770486e4a744785912c8 (patch)
treee91f02ee0afff61d1b0f65f6ca9f580062e73b42 /2d/game-loop.scm
parentcf4dc9bc6c33aee26e0a11cddeeaacbff8d1cc75 (diff)
Remove stage local variables.
Use an the scene initialization thunk to return the needed game state instead.
Diffstat (limited to '2d/game-loop.scm')
-rw-r--r--2d/game-loop.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm
index 631aef8..39fde9e 100644
--- a/2d/game-loop.scm
+++ b/2d/game-loop.scm
@@ -228,7 +228,7 @@ time in milliseconds that has passed since the last game update."
(game-fullscreen? game))
(set! running? #t)
(resume-game)
- (push-stage (make-stage (game-first-scene game)))
+ (push-scene (game-first-scene game))
(spawn-server)
(game-loop (SDL:get-ticks) 0)
(close-window))