Keep the same czar if they picked rando last round

This commit is contained in:
Juhani Krekelä 2019-07-21 00:23:39 +03:00
parent 23b54056c2
commit 4c69ed9e59
1 changed files with 2 additions and 3 deletions

View File

@ -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])))