forked from rDrama/rDrama
1
0
Fork 0

dont repeat urself

master
Aevann 2023-10-10 18:11:32 +03:00
parent 935820bedb
commit 83c8af6f85
1 changed files with 6 additions and 5 deletions

View File

@ -215,10 +215,11 @@ def award_thing(v, thing_type, id):
else:
awarded_coins = 0
if awarded_coins:
if kind == 'shit':
author.charge_account('coins', awarded_coins, should_check_balance=False)
v.pay_account('coins', awarded_coins)
elif AWARDS[kind]['cosmetic']:
else:
author.pay_account('coins', awarded_coins)
if thing_type == 'comment':