summaryrefslogtreecommitdiff
path: root/2d/game-loop.scm
diff options
context:
space:
mode:
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 c647ebe..affdb8b 100644
--- a/2d/game-loop.scm
+++ b/2d/game-loop.scm
@@ -41,7 +41,7 @@
(define target-fps 60)
(define *fps* 0)
-(define tick-interval (/ 1000 target-fps))
+(define tick-interval (floor (/ 1000 target-fps)))
;;;
;;; Hooks