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