From a84c6b6b24b347b065afd99ec3731b72bbc44848 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Fri, 4 Nov 2022 21:30:33 -0500 Subject: [PATCH] fix text --- 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 b57ddf6bd..339aa6696 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -188,7 +188,7 @@ def award_thing(v, thing_type, id): send_repeatable_notification(v.id, msg) author = v elif kind != 'spider': - awarded_coins = AWARDS[kind]['price'] * COSMETIC_AWARD_COIN_AWARD_PCT if AWARDS[kind]['cosmetic'] else 0 + awarded_coins = int(AWARDS[kind]['price'] * COSMETIC_AWARD_COIN_AWARD_PCT) if AWARDS[kind]['cosmetic'] else 0 if AWARDS[kind]['cosmetic']: author.coins += awarded_coins