about summary refs log tree commit diff stats
path: root/html/rogue/js/game.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/rogue/js/game.js')
-rw-r--r--html/rogue/js/game.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/rogue/js/game.js b/html/rogue/js/game.js
index 40c8826..e0010b7 100644
--- a/html/rogue/js/game.js
+++ b/html/rogue/js/game.js
@@ -65,7 +65,7 @@ function drawHex(ctx, x, y, hex) {
 }
 
 function gameLoop(currentTime) {
-    if (currentTime - lastFrameTime < FRAME_TIME) {
+    if (currentTime - lastFrameTime < Config.game.FRAME_TIME) {
         requestAnimationFrame(gameLoop);
         return;
     }