fix server
This commit is contained in:
parent
9dd7da59f5
commit
b2a7486fa6
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ function createNewPlayer(socket, name){
|
|||
console.log(pos)
|
||||
var obj = {
|
||||
id: playerCount,
|
||||
x: x,
|
||||
y: y,
|
||||
x: pos[0],
|
||||
y: pos[1],
|
||||
dir: 0,
|
||||
visibleDir: 0,
|
||||
name: name
|
||||
|
|
Loading…
Reference in a new issue