Factor player balance check into IsBetValid and make min/max bets optional

This commit is contained in:
moneromooo 2015-01-22 18:26:29 +00:00
parent 6d1136b459
commit cf122d032b
3 changed files with 7 additions and 20 deletions

View file

@ -575,10 +575,6 @@ 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,total_units_wagered)
if not enough:
link.send("%s: %s" % (link.user.nick, reason))
return
try:
rolls, seed = GetNewShuffleSeed(link)