mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-29 09:17:51 +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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
border-radius: 5px;
|
||||
color: #d7d7d7;
|
||||
background-color: #16141e;
|
||||
width: fit-content;
|
||||
padding: 0 20px;
|
||||
padding: 0 10px;
|
||||
width: 90%;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
flex-wrap: wrap;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin: 1em auto 140px auto;
|
||||
margin: 0 auto 140px auto;
|
||||
}
|
||||
|
||||
#game-state-container h2 {
|
||||
|
||||
Reference in New Issue
Block a user