From 2653fb929780512d55f3b1324c0c8c8f95566906 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Fri, 3 Jan 2025 14:56:36 -0500 Subject: [PATCH] change sync time to 30hz --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index fefff9f..f840855 100644 --- a/game.js +++ b/game.js @@ -207,7 +207,7 @@ class Game extends GameBasic { that.entities.push(new Shooter(false, that)) } - setInterval(function () { that.sync(false) }, 1000 / 10); + setInterval(function () { that.sync(false) }, 1000 / 30); setInterval(function () { that.sync(true) }, 1000); setInterval(function () { that.clean() }, 1000); }