diff --git a/gameloop.py b/gameloop.py index 2afe01a..615e23c 100644 --- a/gameloop.py +++ b/gameloop.py @@ -1047,11 +1047,7 @@ def game(send, notice, voice, devoice, get_event): selected_cards = [] for choice in choices: if 0 <= choice < len(player.hand): - if player.hand[choice] not in selected_cards: - selected_cards.append(choice) - else: - notice(nick, 'Can\'t play the same card twice') - break + selected_cards.append(player.hand[choice]) else: notice(nick, '%i not in your hand' % choice) break @@ -1060,8 +1056,6 @@ def game(send, notice, voice, devoice, get_event): # Failed to use some choice continue - selected_cards = [player.hand[i] for i in selected_cards] - card_choices[player] = selected_cards if player in choosers: choosers.remove(player)