This commit is contained in:
Killian Marty 2023-12-11 15:23:06 +01:00
parent 862fee0cf3
commit 50a47fcf6d

View file

@ -122,7 +122,6 @@ function deletePlayer(socket){
}
function recievemessage(msg, socket){
console.log(msg, socket.id)
broadcast(JSON.stringify(msg), socket.id);
}
@ -168,7 +167,7 @@ wss.on('connection', (socket, req) => {
break;
}
}catch(e){
console.log(e);
console.log('error');
}
});