mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-28 00:37:50 +01:00
fix bug with redundant play/pause events, fix spec, tweak current moderator css
This commit is contained in:
@@ -188,7 +188,8 @@ export class InProgress {
|
||||
toast('You have been killed!', 'warning', true, true, 'medium');
|
||||
} else {
|
||||
toast(killedPlayer.name + ' was killed!', 'warning', true, true, 'medium');
|
||||
if (killedPlayer.userType === globals.USER_TYPES.MODERATOR) {
|
||||
if (killedPlayer.userType === globals.USER_TYPES.MODERATOR
|
||||
&& this.stateBucket.currentGameState.client.userType !== globals.USER_TYPES.TEMPORARY_MODERATOR) {
|
||||
SharedStateUtil.displayCurrentModerator(killedPlayer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user