fix last commit

This commit is contained in:
Gordon Shumway 2019-12-06 05:57:44 -05:00 committed by GitHub
parent 4264f4d6e3
commit c2dc9632b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)