server z implementation

This commit is contained in:
Killian Marty 2023-12-27 16:08:57 +01:00
parent 34ce42865c
commit 4230231962

View file

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