forked from rDrama/rDrama
dont give coins for event awards to prevent lootbox exploiting
parent
19b7db0a04
commit
eba59884e1
|
@ -218,7 +218,7 @@ def award_thing(v, thing_type, id):
|
||||||
if kind == 'shit':
|
if kind == 'shit':
|
||||||
author.charge_account('coins', awarded_coins, should_check_balance=False)
|
author.charge_account('coins', awarded_coins, should_check_balance=False)
|
||||||
v.pay_account('coins', awarded_coins)
|
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)
|
author.pay_account('coins', awarded_coins)
|
||||||
|
|
||||||
if thing_type == 'comment':
|
if thing_type == 'comment':
|
||||||
|
|
Loading…
Reference in New Issue