fix server

This commit is contained in:
Killian Marty 2023-12-06 09:17:24 +01:00
parent 9dd7da59f5
commit b2a7486fa6

View file

@ -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