diff --git a/backend/bang/players.py b/backend/bang/players.py index 641892f..71adbf1 100644 --- a/backend/bang/players.py +++ b/backend/bang/players.py @@ -211,8 +211,8 @@ class Player: def notify_self(self): if any((True for c in self.equipment if isinstance(c, tvosc.Fantasma))): self.is_ghost = True - elif self.is_ghost and not self.game.check_event(ceh.CittaFantasma): - self.is_ghost = False + elif self.is_ghost: + self.is_ghost = self.game.check_event(ceh.CittaFantasma) and self.is_my_turn if self.is_ghost: self.lives = 0 if self.pending_action == PendingAction.DRAW and self.game.check_event(ce.Peyote): self.available_cards = [{ diff --git a/frontend/src/components/Chat.vue b/frontend/src/components/Chat.vue index c8c85e3..15ace39 100644 --- a/frontend/src/components/Chat.vue +++ b/frontend/src/components/Chat.vue @@ -5,7 +5,7 @@