diff --git a/files/helpers/blackjack.py b/files/helpers/blackjack.py index f32e451c1..e2205d4c8 100644 --- a/files/helpers/blackjack.py +++ b/files/helpers/blackjack.py @@ -48,6 +48,7 @@ def save_game_state(game, new_state): def get_active_game(gambler): + g.db.flush() game = g.db.query(Casino_Game) \ .filter(Casino_Game.active == True, Casino_Game.kind == 'blackjack',