mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
display current moderator, fix assignment of spectator
This commit is contained in:
@@ -393,6 +393,7 @@ async function addSpectator (game, name, logger, namespace, eventManager, instan
|
||||
name,
|
||||
globals.USER_TYPES.SPECTATOR
|
||||
);
|
||||
spectator.assigned = true;
|
||||
logger.trace('new spectator: ' + spectator.name);
|
||||
game.people.push(spectator);
|
||||
await refreshGame(game);
|
||||
|
||||
Reference in New Issue
Block a user