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
|
default_health = 50
|
||||||
|
|
||||||
|
turn: Team
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.market_stack = []
|
self.market_stack = []
|
||||||
@@ -42,7 +44,7 @@ class Game(Serializable):
|
|||||||
|
|
||||||
self.started = False
|
self.started = False
|
||||||
|
|
||||||
self.turn: Team = None
|
self.turn = None
|
||||||
|
|
||||||
async def init_game(self):
|
async def init_game(self):
|
||||||
await self.init_cards()
|
await self.init_cards()
|
||||||
|
|||||||
Reference in New Issue
Block a user