Aevann 2023-02-18 20:45:08 +02:00
parent a076e36d5c
commit ffa4212c87
1 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,11 @@ function updateBlackjackTable(state) {
updateResult(`Pushed: Received ${state.wager.amount} ${currency}`, "success");
break;
case 'LOST':
updateResult(`Lost ${state.wager.amount} ${currency}`, "danger");
let lost = state.wager.amount;
if (state.player_doubled_down) {
lost *= 2;
}
updateResult(`Lost ${lost} ${currency}`, "danger");
break;
default:
break;