improve syncing
This commit is contained in:
parent
0ea8236567
commit
9353f7cbf0
2 changed files with 3 additions and 2 deletions
2
game.js
2
game.js
|
@ -26,7 +26,7 @@ class Game extends GameBasic {
|
|||
let that = this;
|
||||
that.entities = [];
|
||||
|
||||
setInterval(function () { that.sync() }, 1000 / 20);
|
||||
setInterval(function () { that.sync() }, 1000 / 5);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue