serv update
This commit is contained in:
parent
e8985da4ed
commit
2c7c2a6fe1
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ function createNewPlayer(socket, name){
|
||||||
players.push(obj);
|
players.push(obj);
|
||||||
playerCount++;
|
playerCount++;
|
||||||
|
|
||||||
|
console.log(players);
|
||||||
socket.send(JSON.stringify({
|
socket.send(JSON.stringify({
|
||||||
type: "connect",
|
type: "connect",
|
||||||
data: {
|
data: {
|
||||||
|
|
Loading…
Reference in a new issue