diff --git a/werewolf/game.py b/werewolf/game.py index 3a559ca..c133dc7 100644 --- a/werewolf/game.py +++ b/werewolf/game.py @@ -651,13 +651,13 @@ class Game: # await channel.set_permissions(member, read_messages=True) async def _check_game_over(self): - alive_players = [player for player self.players if player.alive] + alive_players = [player for player in self.players if player.alive] - if len(alive_players)<=2: + if len(alive_players) <= 2: # Check 1v1 victory conditions ToDo pass else: - #Check if everyone is on the same team + # Check if everyone is on the same team alignment = alive_players[0].role.alignment for player in alive_players: if player.role.alignment != alignment: @@ -665,8 +665,6 @@ class Game: # Only remaining team wins - - async def _end_game(self): # ToDo pass