Archived
fix game model turn not being a class attribute
This commit is contained in:
+3
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user