fix blackjack
parent
d33eebb7bb
commit
7c331ac219
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue