v1 #4
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
|
|
@ -116,6 +116,7 @@ function died(message, socket){
|
||||||
let pos = generatePosition();
|
let pos = generatePosition();
|
||||||
players[i].x = pos[0];
|
players[i].x = pos[0];
|
||||||
players[i].y = pos[1];
|
players[i].y = pos[1];
|
||||||
|
players[i].z = 0;
|
||||||
|
|
||||||
broadcast(JSON.stringify({
|
broadcast(JSON.stringify({
|
||||||
type: "update",
|
type: "update",
|
||||||
|
|
|
||||||
載入中…
Reference in a new issue