fix game model turn not being a class attribute

This commit is contained in:
2024-04-04 21:55:03 +02:00
parent c068143422
commit f06de888e5
+3 -1
View File
@@ -31,6 +31,8 @@ class Game(Serializable):
default_health = 50
turn: Team
def __init__(self):
super().__init__()
self.market_stack = []
@@ -42,7 +44,7 @@ class Game(Serializable):
self.started = False
self.turn: Team = None
self.turn = None
async def init_game(self):
await self.init_cards()