whoops fix

This commit is contained in:
Alberto Xamin 2020-12-25 00:14:56 +01:00
parent c9e9ec045d
commit f94719cbbe
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -395,7 +395,7 @@ class Player:
self.notify_self() self.notify_self()
elif self.character.check(self.game, chd.PatBrennan) and type(pile) == str and pile != self.name and pile in self.game.players_map and len(self.game.get_player_named(pile).equipment) > 0: elif self.character.check(self.game, chd.PatBrennan) and type(pile) == str and pile != self.name and pile in self.game.players_map and len(self.game.get_player_named(pile).equipment) > 0:
self.is_drawing = True self.is_drawing = True
self.available_cards = c.equipment self.available_cards = self.game.get_player_named(pile).equipment
self.pat_target = pile self.pat_target = pile
self.choose_text = 'choose_card_to_get' self.choose_text = 'choose_card_to_get'
self.pending_action = PendingAction.CHOOSE self.pending_action = PendingAction.CHOOSE