change sync time to 30hz

This commit is contained in:
biglyderv 2025-01-03 14:56:36 -05:00
parent 8cc663d9a7
commit 2653fb9297

View file

@ -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);
}