fix games first place stats
This commit is contained in:
2
bot.py
2
bot.py
@ -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:
|
||||||
|
Reference in New Issue
Block a user