fix 500 error

master
Aevann1 2022-09-05 01:39:56 +02:00
parent a0e3d75f3e
commit 97e3614072
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ def gambler_doubled_down(gambler):
currency_value = getattr(gambler, game.currency, 0)
if (currency_value < game.wager):
return False
return False, game_state
setattr(gambler, game.currency, currency_value - game.wager)
game.wager *= 2