From aae9389b2383c22d962770adc9b02230ddfccf26 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 08:50:18 +0200 Subject: [PATCH] comment "push" and "blackjack" --- files/helpers/blackjack.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/files/helpers/blackjack.py b/files/helpers/blackjack.py index c438bf543..d180acddb 100644 --- a/files/helpers/blackjack.py +++ b/files/helpers/blackjack.py @@ -122,14 +122,14 @@ def deal_blackjack_game(gambler, wager_value, currency): gambler.winnings -= wager_value game.winnings -= wager_value - if player_value == 21 and dealer_value == 21: - game_state["status"] = 'push' - save_game_state(game, game_state) - apply_blackjack_result(gambler) - elif player_value == 21: - game_state["status"] = 'blackjack' - save_game_state(game, game_state) - apply_blackjack_result(gambler) + # if player_value == 21 and dealer_value == 21: + # game_state["status"] = 'push' + # save_game_state(game, game_state) + # apply_blackjack_result(gambler) + # elif player_value == 21: + # game_state["status"] = 'blackjack' + # save_game_state(game, game_state) + # apply_blackjack_result(gambler) g.db.flush()