forked from rDrama/rDrama
debug
parent
710502000e
commit
43a2f828d0
|
@ -92,6 +92,12 @@ function vote(type, id, dir) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pick(kind, price, coins, marseybux) {
|
function pick(kind, price, coins, marseybux) {
|
||||||
|
console.log(price)
|
||||||
|
console.log(coins)
|
||||||
|
console.log(marseybux)
|
||||||
|
console.log(coins >= price)
|
||||||
|
console.log(marseybux >= price)
|
||||||
|
|
||||||
const buy1 = document.getElementById('buy1')
|
const buy1 = document.getElementById('buy1')
|
||||||
if (coins >= price && kind != "grass")
|
if (coins >= price && kind != "grass")
|
||||||
buy1.disabled=false;
|
buy1.disabled=false;
|
||||||
|
|
Loading…
Reference in New Issue