From c2dc9632b45f9e8700342740ab81f47d2a0dbb7c Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Fri, 6 Dec 2019 05:57:44 -0500 Subject: [PATCH] fix last commit --- BlackJack/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/BlackJack/plugin.py b/BlackJack/plugin.py index 379a8ad..1781ada 100644 --- a/BlackJack/plugin.py +++ b/BlackJack/plugin.py @@ -232,6 +232,7 @@ class BlackJack(callbacks.Plugin): chips = stake elif stake > chips: chipsClass._addChips(player, stake - chips) + chips = stake if stake >= self.minStake and stake <= self.maxStake and stake <= chips: # Now is good time to add new player and actually start a game. self._addNewPlayer(player, stake)