fix buying awards in modal

pull/83/head
Aevann 2023-01-01 04:34:12 +02:00
parent 43a2f828d0
commit 68a7053114
1 changed files with 3 additions and 5 deletions

View File

@ -92,11 +92,9 @@ function vote(type, id, dir) {
}
function pick(kind, price, coins, marseybux) {
console.log(price)
console.log(coins)
console.log(marseybux)
console.log(coins >= price)
console.log(marseybux >= price)
price = parseInt(price)
price = coins(price)
price = marseybux(price)
const buy1 = document.getElementById('buy1')
if (coins >= price && kind != "grass")