fix blackjack

pull/225/head
Aevann 2024-03-02 22:03:28 +02:00
parent d33eebb7bb
commit 7c331ac219
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ def handle_payout(gambler, state, game):
reason="Blackjack bet", reason="Blackjack bet",
) )
g.db.add(currency_log) g.db.add(currency_log)
if currency == 'coins': if game.currency == 'coins':
currency_log.balance = gambler.coins currency_log.balance = gambler.coins
else: else:
currency_log.balance = gambler.marseybux currency_log.balance = gambler.marseybux