fix(blackjack): update payout function signature

This commit is contained in:
hypercross 2026-06-02 18:08:01 +08:00
parent 365b2c4d13
commit 968672da06
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export function createCardHelpers(world: World) {
message: "Both have Blackjack — Push! Press N for new round.", message: "Both have Blackjack — Push! Press N for new round.",
}); });
} else { } else {
const winnings = payout(0, "blackjack", bet.amount); const winnings = payout("blackjack", bet.amount);
score.chips += bet.amount + winnings; score.chips += bet.amount + winnings;
score.wins++; score.wins++;
world.setSingleton(GamePhase, { world.setSingleton(GamePhase, {