summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--2d/game-loop.scm6
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))