forked from MarseyWorld/MarseyWorld
fix 500 error
parent
a0e3d75f3e
commit
97e3614072
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue