Update players.py

This commit is contained in:
Alberto Xamin 2023-01-09 17:45:50 +01:00 committed by GitHub
parent 33bc725eea
commit 888725a6ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -838,6 +838,7 @@ class Player:
self.notify_self()
elif 'choose_bandidos' in self.choose_text:
if card_index <= len(self.available_cards):
self.available_cards.pop(card_index))
self.game.deck.scrap_pile.append(self.hand.pop(card_index))
self.mancato_needed -= 1
else: