From eba59884e14f1904f042f534f0063ae3a894cf60 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 9 Oct 2023 20:21:03 +0300 Subject: [PATCH] dont give coins for event awards to prevent lootbox exploiting --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index efc3dc9e7..c067061d5 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -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':