fix games first place stats

This commit is contained in:
Jannes Höke 2016-05-24 09:57:23 +02:00
parent d5cac440ec
commit 72515e37ed

2
bot.py
View file

@ -607,6 +607,8 @@ def do_play_card(bot, player, result_id):
if game.players_won is 0: if game.players_won is 0:
us.first_places += 1 us.first_places += 1
game.players_won += 1
try: try:
gm.leave_game(user, chat) gm.leave_game(user, chat)
except NotEnoughPlayersError: except NotEnoughPlayersError: