diff --git a/files/assets/js/casino/game_screen.js b/files/assets/js/casino/game_screen.js index 35de02270..4440338b0 100644 --- a/files/assets/js/casino/game_screen.js +++ b/files/assets/js/casino/game_screen.js @@ -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() {