forked from test/mau_mau_bot
fix games first place stats
This commit is contained in:
parent
d5cac440ec
commit
72515e37ed
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -607,6 +607,8 @@ def do_play_card(bot, player, result_id):
|
|||
if game.players_won is 0:
|
||||
us.first_places += 1
|
||||
|
||||
game.players_won += 1
|
||||
|
||||
try:
|
||||
gm.leave_game(user, chat)
|
||||
except NotEnoughPlayersError:
|
||||
|
|
Loading…
Reference in a new issue