From b7dbe998f900b409ee598b7f3dfa2e3013c8b9db Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 1 Jan 2023 04:35:08 +0200 Subject: [PATCH] I need coffee --- files/assets/js/award_modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/js/award_modal.js b/files/assets/js/award_modal.js index b055657d0a..c71d020af3 100644 --- a/files/assets/js/award_modal.js +++ b/files/assets/js/award_modal.js @@ -93,8 +93,8 @@ function vote(type, id, dir) { function pick(kind, price, coins, marseybux) { price = parseInt(price) - price = coins(price) - price = marseybux(price) + coins = parseInt(coins) + marseybux = parseInt(marseybux) const buy1 = document.getElementById('buy1') if (coins >= price && kind != "grass")