bump sync fix for real

This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent 0a74708617
commit fab37359f1
3 changed files with 14 additions and 12 deletions

View file

@ -30,8 +30,8 @@ app.ws('/', function (ws, req) {
console.log(err);
data = {};
}
let { vel, dir, you } = data;
let data2 = { vel, dir, you };
let { vel, dir, you, ticks } = data;
let data2 = { vel, dir, you, ticks };
game.entities[playerI] = Object.assign(game.entities[playerI], data2);
})