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)