This commit is contained in:
AlecM33
2022-01-20 23:35:22 -05:00
parent 750ef75cd4
commit 45111da832
3 changed files with 6 additions and 8 deletions

View File

@@ -263,7 +263,6 @@ function setClientSocketHandlers (stateBucket, gameStateRenderer, socket, timerW
gameTimerManager.attachTimerSocketListeners(socket, timerWorker, gameStateRenderer);
}
socket.on(globals.EVENTS.KILL_PLAYER, (id) => {
const killedPerson = stateBucket.currentGameState.people.find((person) => person.id === id);
if (killedPerson) {