End game when game ended

This commit is contained in:
eaocto 2018-10-19 00:31:52 +07:00
parent 95ab159113
commit 36ff9e8eda

View file

@ -158,6 +158,7 @@ def do_play_card(bot, player, result_id):
if not us:
us_ = UserSetting(id=player.user.id)
us_.games_played += 1
gm.end_game(chat, user)
else:
sleep(5)
game.reset_cards()