fix broken response

This commit is contained in:
Alberto Xamin 2020-11-23 12:01:43 +01:00
parent f7e8897c0e
commit 0856e2dd27
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -379,7 +379,7 @@ class Player:
def respond(self, hand_index):
self.pending_action = PendingAction.WAIT
if hand_index != -1 and self.hand[hand_index].name == self.expected_response:
if hand_index != -1 and self.hand[hand_index].name in self.expected_response:
self.game.deck.scrap(self.hand.pop(hand_index))
self.notify_self()
if self.event_type == 'duel':