Skip to content

Commit 17fce96

Browse files
committed
> blackjack bug fixes
1 parent 2287077 commit 17fce96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cogs/unique/Economy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ def check(m):
13151315
# Calculate net winnings (subtract initial total bet)
13161316
net_winnings = total_winnings - sum(hand_bets)
13171317
if net_winnings != 0:
1318-
await db.update_wallet(ctx.author.id, net_winnings, ctx.guild.id)
1318+
await db.update_balance(ctx.author.id, total_winnings, ctx.guild.id)
13191319

13201320
# Show final results
13211321
embed = discord.Embed(

0 commit comments

Comments
 (0)