diff --git a/backend/__init__.py b/backend/__init__.py index 3a82a8e..482bcba 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -290,7 +290,7 @@ def chat_message(sid, msg): ses.character = [c for c in chs if c.name == ' '.join(cmd[1:])][0] ses.real_character = ses.character ses.notify_self() - elif '/setevent' in msg and ses.game and ses.game.deck: + elif '/setevent' in msg and ses.game and ses.game.deck: # /setevent (position) 0 (name) Peyote cmd = msg.split() if len(cmd) >= 3: sio.emit('chat_message', room=ses.game.name, data={'color': f'red','text':f'🚨 {ses.name} is in debug mode and changed event'}) diff --git a/frontend/src/components/Lobby.vue b/frontend/src/components/Lobby.vue index c31c7d0..efd014f 100644 --- a/frontend/src/components/Lobby.vue +++ b/frontend/src/components/Lobby.vue @@ -24,7 +24,7 @@
👻
- + @@ -43,7 +43,8 @@
-

{{$t('minimum_players')}}

+

{{$t('minimum_players')}}

+

{{$t("expansions")}}

{{ex.name}} diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index db119e7..171d903 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -145,6 +145,7 @@ export default { else if (this.pending_action == 3) document.title = this.$t('your_response')+' | PewPew!' else if (this.pending_action == 5) document.title = this.$t('your_choose')+' | PewPew!' else document.title = 'PewPew!' + if ((this.live > 0 || this.is_ghost) && this.spectator) this.spectator = false this.expected_response = self.expected_response this.available_cards = self.available_cards this.win_status = self.win_status