fixed 2 bugs in last round!

This commit is contained in:
2020-04-19 00:38:57 +02:00
parent 1b32fe295d
commit 38102ce778
4 changed files with 15 additions and 10 deletions

View File

@ -19,7 +19,7 @@ def show(req, resp, player: str):
#active_player = the_game.active_player
prev_player = the_game.get_prev_player()
if tcard.value == 'Z' and tcolor == '-':
if tcard and tcard.value == 'Z' and tcolor == '-':
choose_trump_color = True
else:
choose_trump_color = False