Aevann 2024-05-23 04:19:33 +03:00
parent 69c90f43df
commit b339de64a6
1 changed files with 6 additions and 10 deletions

View File

@ -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() {