From 03e9c5bc1e45e337cd4e8885328341376ae7455c Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 18 Sep 2023 21:18:08 +0300 Subject: [PATCH] fix bug --- files/helpers/twentyone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/twentyone.py b/files/helpers/twentyone.py index fb14acb88..ff6347273 100644 --- a/files/helpers/twentyone.py +++ b/files/helpers/twentyone.py @@ -314,7 +314,7 @@ def handle_payout(gambler, state, game): payout += game.wager * 2 elif split_status == BlackjackStatus.LOST: game.winnings += -game.wager - elif status == BlackjackStatus.PUSHED: + elif split_status == BlackjackStatus.PUSHED: payout += game.wager