From 97e36140725cb350052679142bf602825bc683df Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 01:39:56 +0200 Subject: [PATCH] fix 500 error --- files/helpers/blackjack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/blackjack.py b/files/helpers/blackjack.py index 735f29453..239932b66 100644 --- a/files/helpers/blackjack.py +++ b/files/helpers/blackjack.py @@ -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