diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-06-26 07:56:02 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-06-26 07:56:02 -0400 |
commit | 168b20824536cb447f4c45f31657a5601b6d9832 (patch) | |
tree | 9ff9d656fc05e26adc1e03f21dc4ec32f3244429 | |
parent | 860395abefd4467afec522cbf5ec87a45551c2f1 (diff) |
Clean up run-game-loop procedure.
-rw-r--r-- | 2d/game-loop.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm index 7b36e57..d508d26 100644 --- a/2d/game-loop.scm +++ b/2d/game-loop.scm @@ -176,6 +176,6 @@ since the last tick." (define (run-game-loop) "Runs event handling, update, and render loop." - (while #t - (handle-events) - (update-and-render))) + (handle-events) + (update-and-render) + (run-game-loop)) |