forked from MarseyWorld/MarseyWorld
fix prev commit lol
parent
c470cb7516
commit
5e2f449df7
|
@ -198,9 +198,9 @@ def award_thing(v, thing_type, id):
|
|||
msg = f"{safe_username} is under the effect of a deflector award; your {AWARDS[kind]['title']} Award has been deflected back to you :marseytroll:"
|
||||
send_repeatable_notification(v.id, msg)
|
||||
author = v
|
||||
elif kind not in ('spider', 'shit'):
|
||||
elif kind != 'spider':
|
||||
awarded_coins = int(AWARDS[kind]['price'] * COSMETIC_AWARD_COIN_AWARD_PCT) if AWARDS[kind]['cosmetic'] else 0
|
||||
if AWARDS[kind]['cosmetic']:
|
||||
if AWARDS[kind]['cosmetic'] and kind != 'shit':
|
||||
author.pay_account('coins', awarded_coins)
|
||||
|
||||
msg = f"@{v.username} has given your [{thing_type}]({thing.shortlink}) the {AWARDS[kind]['title']} Award"
|
||||
|
|
Loading…
Reference in New Issue