Fix lock card not being awaited

This commit is contained in:
2024-05-06 16:40:49 +02:00
parent c59fa12036
commit 589b393c92
+1 -1
View File
@@ -181,7 +181,7 @@ class Turn(Serializable):
async def start_turn(self) -> None: async def start_turn(self) -> None:
for c in self.player.board: for c in self.player.board:
if c.card_type == CardType.CHAMPION: if c.card_type == CardType.CHAMPION:
self.lock_card(str(c.card_id)) await self.lock_card(str(c.card_id))
def serialize(self): def serialize(self):
data = super().serialize() | { data = super().serialize() | {