bump sync fix for real
This commit is contained in:
parent
0a74708617
commit
fab37359f1
3 changed files with 14 additions and 12 deletions
4
index.js
4
index.js
|
@ -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);
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue