maybe slight code improvements..

This commit is contained in:
Zutatensuppe 2021-05-09 21:43:35 +02:00
parent 53e97cd58b
commit 68a51ce322
3 changed files with 30 additions and 20 deletions

View file

@ -744,7 +744,7 @@ async function main() {
// LOCAL + SERVER CHANGES
// -------------------------------------------------------------
const ts = TIME()
const changes = Game.handleInput(GAME_ID, CLIENT_ID, evt, ts)
const changes = Game.handleInput(gameId, CLIENT_ID, evt, ts)
if (changes.length > 0) {
RERENDER = true
}