forked from MarseyWorld/MarseyWorld
fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/3414026#context
parent
69c90f43df
commit
b339de64a6
|
@ -11,17 +11,13 @@ function initializeGame() {
|
|||
}
|
||||
|
||||
function updatePlayerCurrencies(updated) {
|
||||
if (updated.coins) {
|
||||
document.getElementById("user-coins-amount").textContent = commas(updated.coins);
|
||||
document.getElementById("user-coins-amount-mobile").textContent = commas(updated.coins);
|
||||
document.getElementById("user-coins-amount-casino").textContent = commas(updated.coins);
|
||||
}
|
||||
document.getElementById("user-coins-amount").textContent = commas(updated.coins);
|
||||
document.getElementById("user-coins-amount-mobile").textContent = commas(updated.coins);
|
||||
document.getElementById("user-coins-amount-casino").textContent = commas(updated.coins);
|
||||
|
||||
if (updated.marseybux) {
|
||||
document.getElementById("user-bux-amount").textContent = commas(updated.marseybux);
|
||||
document.getElementById("user-bux-amount-mobile").textContent = commas(updated.marseybux);
|
||||
document.getElementById("user-bux-amount-casino").textContent = commas(updated.marseybux);
|
||||
}
|
||||
document.getElementById("user-bux-amount").textContent = commas(updated.marseybux);
|
||||
document.getElementById("user-bux-amount-mobile").textContent = commas(updated.marseybux);
|
||||
document.getElementById("user-bux-amount-casino").textContent = commas(updated.marseybux);
|
||||
}
|
||||
|
||||
function getWager() {
|
||||
|
|
Loading…
Reference in New Issue