reset draw counter after bluffing
This commit is contained in:
parent
7c502598c7
commit
52fd88a87c
1 changed files with 2 additions and 1 deletions
3
bot.py
3
bot.py
|
@ -203,7 +203,8 @@ def chosen_card(bot, update):
|
|||
for i in range(game.draw_counter):
|
||||
player.cards.append(game.deck.draw())
|
||||
|
||||
game.turn()
|
||||
game.draw_counter = 0
|
||||
game.turn()
|
||||
elif result_id == 'draw':
|
||||
for n in range(game.draw_counter or 1):
|
||||
player.cards.append(game.deck.draw())
|
||||
|
|
Loading…
Reference in a new issue