Archived
fix player hand -> board start turtn
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ class Game(Serializable):
|
||||
async def end_turn(self):
|
||||
team_index = self.teams.index(self.current_turn)
|
||||
self.current_turn = self.teams[(team_index + 1) % len(self.teams)]
|
||||
for p in self.players:
|
||||
for p in [p for p in self.players if p.team == self.current_turn]:
|
||||
await p.start_turn()
|
||||
await self.notify_controller("update", self.serialize_guest())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user