Roulette wins should include the payin
This commit is contained in:
parent
046e8935df
commit
69ebba27bb
1 changed files with 3 additions and 1 deletions
|
@ -621,7 +621,9 @@ class Module(ModuleManager.BaseModule):
|
|||
if odds == 0:
|
||||
losses[bet] = bet_amounts[i]
|
||||
else:
|
||||
winnings[bet] = [odds, bet_amounts[i]*odds]
|
||||
win_amount = bet_amounts[i]
|
||||
win_amount += bet_amounts[i]*odds
|
||||
winnings[bet] = [odds, win_amount]
|
||||
|
||||
winnings_str = ["%s for %s (%d to 1)" % (winnings[bet][1], bet,
|
||||
winnings[bet][0]) for bet in winnings.keys()]
|
||||
|
|
Loading…
Reference in a new issue