srv
This commit is contained in:
parent
57383829de
commit
9ea6330fe3
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ wss.on('connection', (socket, req) => {
|
|||
broadcast(JSON.stringify(message), socket.id);
|
||||
|
||||
} else if(message.type=="died"){
|
||||
|
||||
console.log(message)
|
||||
broadcast(JSON.stringify(message), socket.id);
|
||||
for (var i = players.length - 1; i >= 0; i--) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue