From 620a6f4795dcfbcaff5795438687354eda44cef3 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sat, 21 Sep 2024 16:33:31 -0700 Subject: [PATCH] fix loss payout the payout has been taken in the betPlaced so its gone already no reason to recalculate (which subtracts it from bank) --- modules/videopoker.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/videopoker.py b/modules/videopoker.py index 74f9ed1..d4b72e5 100644 --- a/modules/videopoker.py +++ b/modules/videopoker.py @@ -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 = []