mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
blackjack: fix balance check with side bets
This commit is contained in:
parent
b040600947
commit
c48428b0ab
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ def Blackjack(link,cmd):
|
|||
log_info("Dice: %s's bet refused: %s" % (identity, reason))
|
||||
link.send("%s: %s" % (link.user.nick, reason))
|
||||
return
|
||||
enough, reason = IsPlayerBalanceAtLeast(link,units)
|
||||
enough, reason = IsPlayerBalanceAtLeast(link,total_units_wagered)
|
||||
if not enough:
|
||||
link.send("%s: %s" % (link.user.nick, reason))
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue