Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
fix for roulette
Browse files Browse the repository at this point in the history
  • Loading branch information
sean351 committed Apr 3, 2024
1 parent c9c3ad2 commit 11e0426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/games-sp/roulette.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ module.exports = class RouletteCommand extends Command {
}, 'roulette');
if (betAmount <= 0) {
finalBet = await msg.client.casinoUtils.waitForBet(msg, 30000, 'roulette');
} else {
finalBet = betAmount;
}
finalBet = betAmount;
await msg.client.casinoUtils.placeBet(msg, finalBet, id, 'roulette');
await msg.client.dbHelper.createGameLog({
gameId: id,
Expand Down

0 comments on commit 11e0426

Please sign in to comment.