Archived
Fix lock card not being awaited
This commit is contained in:
+1
-1
@@ -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() | {
|
||||||
|
|||||||
Reference in New Issue
Block a user