don't record played cards if stats not enabled

This commit is contained in:
Jannes Höke 2016-05-25 03:01:25 +02:00
parent bcaea68ef9
commit 7c250c6f79

1
bot.py
View file

@ -599,6 +599,7 @@ def do_play_card(bot, player, result_id):
if not us:
us = UserSetting(id=user.id)
if us.stats:
us.cards_played += 1
if game.choosing_color: