diff --git a/src/model/turn.py b/src/model/turn.py index 93a0f79..066709c 100644 --- a/src/model/turn.py +++ b/src/model/turn.py @@ -257,10 +257,11 @@ class Turn(Serializable): async def start_turn(self) -> None: self.champions_health = {} - for c in self.player.board: - if c.card_type == CardType.CHAMPION: - self.champions_health[str(c.uuid)] = c.defense - await self.player.game.notify_controller("update", self.serialize()) + for p in self.player.game.players: + for c in p.board: + if c.card_type == CardType.CHAMPION: + p.turn.champions_health[str(c.uuid)] = c.defense + await p.game.notify_controller("update", p.turn.serialize()) def serialize(self): data = super().serialize() | {