mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 01:37:51 +01:00
don't emit killed event to person receiving mod powers
This commit is contained in:
@@ -75,7 +75,7 @@ class SocketManager {
|
||||
gameManager.getTimeRemaining(game, socket);
|
||||
break;
|
||||
case EVENT_IDS.KILL_PLAYER:
|
||||
gameManager.killPlayer(game, game.people.find((person) => person.id === args.personId), namespace, this.logger);
|
||||
gameManager.killPlayer(socket, game, game.people.find((person) => person.id === args.personId), namespace, this.logger);
|
||||
break;
|
||||
case EVENT_IDS.REVEAL_PLAYER:
|
||||
gameManager.revealPlayer(game, args.personId);
|
||||
|
||||
Reference in New Issue
Block a user