dont give coins for event awards to prevent lootbox exploiting

master
Aevann 2023-10-09 20:21:03 +03:00
parent 19b7db0a04
commit eba59884e1
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ def award_thing(v, thing_type, id):
if kind == 'shit':
author.charge_account('coins', awarded_coins, should_check_balance=False)
v.pay_account('coins', awarded_coins)
elif AWARDS[kind]['cosmetic']:
elif AWARDS[kind]['cosmetic'] and kind not in FISTMAS_AWARDS + HOMOWEEN_AWARDS :
author.pay_account('coins', awarded_coins)
if thing_type == 'comment':