mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-30 05:23:35 +02:00
fix loss payout
the payout has been taken in the betPlaced so its gone already no reason to recalculate (which subtracts it from bank)
This commit is contained in:
@@ -250,12 +250,8 @@ class PlayerVP:
|
||||
self.bankroll += self.bet_size * payoff[hand_name]
|
||||
else:
|
||||
hand_name = "Bad Hand 🙈"
|
||||
if resetHand:
|
||||
self.bankroll += self.bet_size * payoff[hand_name]
|
||||
else: # for everything Hand
|
||||
hand_name = "Bad Hand 🙈"
|
||||
if resetHand:
|
||||
self.bankroll += self.bet_size * payoff[hand_name]
|
||||
|
||||
if resetHand:
|
||||
self.hand = []
|
||||
|
||||
Reference in New Issue
Block a user