This commit is contained in:
Killian Marty 2023-12-06 10:49:18 +01:00
parent 57383829de
commit 9ea6330fe3

View file

@ -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--) {