From 4c69ed9e59e073d774bd4075040391051d295487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 21 Jul 2019 00:23:39 +0300 Subject: [PATCH] Keep the same czar if they picked rando last round --- gameloop.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gameloop.py b/gameloop.py index d666655..faea533 100644 --- a/gameloop.py +++ b/gameloop.py @@ -1172,11 +1172,10 @@ def game(send, notice, voice, devoice, get_event): player_bot.points += 1 # Winner is Czar semantics if a - # player won, random otherwise + # player won, keep same czar + # otherwise if player_bot in players.values(): czar = player_bot - else: - czar = None send('The winner is %s with: %s' % (player_bot.nick, combine_cards(round_call_card, card_choices[player_bot])))