mirror of
https://github.com/wownero/tippero.git
synced 2026-10-19 00:28:58 +02:00
blackjack: fix balance check with side bets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user