fix(blackjack): update payout function signature
This commit is contained in:
parent
365b2c4d13
commit
968672da06
|
|
@ -166,7 +166,7 @@ export function createCardHelpers(world: World) {
|
|||
message: "Both have Blackjack — Push! Press N for new round.",
|
||||
});
|
||||
} else {
|
||||
const winnings = payout(0, "blackjack", bet.amount);
|
||||
const winnings = payout("blackjack", bet.amount);
|
||||
score.chips += bet.amount + winnings;
|
||||
score.wins++;
|
||||
world.setSingleton(GamePhase, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue