aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-12-29 19:14:06 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-12-29 19:14:06 +0000
commit31d9ba810ecf578924e31be578576aa0a1421d80 (patch)
tree470e58b4afdd8990930a71f9265e8fc04c361e75 /js
parent59fb8631e3e7f3fa4f643eaf44ad15fba03229fd (diff)
downloadjs-canvas-2023-31d9ba810ecf578924e31be578576aa0a1421d80.tar.gz
js-canvas-2023-31d9ba810ecf578924e31be578576aa0a1421d80.zip
Remove magic numberHEADmain
Diffstat (limited to 'js')
-rw-r--r--js/game.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/game.js b/js/game.js
index 364fb8f..f11174b 100644
--- a/js/game.js
+++ b/js/game.js
@@ -56,7 +56,7 @@ class Game {
};
this.minFps = 60;
- this.then = -1 / 60;
+ this.then = -1 / this.minFps;
this.loadingError = undefined;
}