server z implementation
This commit is contained in:
parent
34ce42865c
commit
4230231962
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ function died(message, socket){
|
|||
let pos = generatePosition();
|
||||
players[i].x = pos[0];
|
||||
players[i].y = pos[1];
|
||||
players[i].z = 0;
|
||||
|
||||
broadcast(JSON.stringify({
|
||||
type: "update",
|
||||
|
|
Loading…
Reference in a new issue