From 57e541f3af16ca4ccdb02e9911a80483e6c46af3 Mon Sep 17 00:00:00 2001 From: Levi Date: Thu, 28 Mar 2024 15:04:06 +0100 Subject: [PATCH] Remove overdose key after overdose check (#94) --- houdini/handlers/games/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/houdini/handlers/games/__init__.py b/houdini/handlers/games/__init__.py index 875f7ab..ae181b0 100644 --- a/houdini/handlers/games/__init__.py +++ b/houdini/handlers/games/__init__.py @@ -31,6 +31,8 @@ async def determine_coins_overdose(p, coins): if coins > max_game_coins: return True + + await p.server.redis.delete(overdose_key) return False