This commit is contained in:
Killian Marty 2023-12-06 10:51:39 +01:00
parent 9ea6330fe3
commit 25a350e1e5

View file

@ -122,7 +122,6 @@ wss.on('connection', (socket, req) => {
broadcast(JSON.stringify(message), socket.id); broadcast(JSON.stringify(message), socket.id);
} else if(message.type=="died"){ } else if(message.type=="died"){
console.log(message)
broadcast(JSON.stringify(message), socket.id); broadcast(JSON.stringify(message), socket.id);
for (var i = players.length - 1; i >= 0; i--) { for (var i = players.length - 1; i >= 0; i--) {