From 52fd88a87c84f359f9f8494c33dbcfdda91226b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 1 Mar 2016 02:19:42 +0100 Subject: [PATCH] reset draw counter after bluffing --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 05a3cf6..85524ac 100644 --- a/bot.py +++ b/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())