mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 01:37:51 +01:00
emit mod transfer events selectively
This commit is contained in:
@@ -85,7 +85,7 @@ class SocketManager {
|
||||
if (!person) {
|
||||
person = game.spectators.find((spectator) => spectator.id === args.personId);
|
||||
}
|
||||
gameManager.transferModeratorPowers(game, person, this.logger);
|
||||
gameManager.transferModeratorPowers(game, person, namespace, this.logger);
|
||||
break;
|
||||
case EVENT_IDS.CHANGE_NAME:
|
||||
gameManager.changeName(game, args.data, ackFn);
|
||||
|
||||
Reference in New Issue
Block a user