forked from test/mau_mau_bot
🐛 Fix bluffing for +4s that have been played before (#67)
This commit is contained in:
parent
94ea61e941
commit
77aa0d8e7b
1 changed files with 2 additions and 0 deletions
2
deck.py
2
deck.py
|
@ -58,6 +58,8 @@ class Deck(object):
|
||||||
|
|
||||||
def dismiss(self, card):
|
def dismiss(self, card):
|
||||||
"""Returns a card to the deck"""
|
"""Returns a card to the deck"""
|
||||||
|
if card.special:
|
||||||
|
card.color = None
|
||||||
self.graveyard.append(card)
|
self.graveyard.append(card)
|
||||||
|
|
||||||
def _fill_classic_(self):
|
def _fill_classic_(self):
|
||||||
|
|
Loading…
Reference in a new issue