From 1d89531634a1a71928c87854f01581bb2761ff47 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 23 Apr 2020 21:45:07 +0100 Subject: [PATCH] Return if player is banned for coins overdose --- houdini/handlers/games/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/games/__init__.py b/houdini/handlers/games/__init__.py index d577949..cacc92b 100644 --- a/houdini/handlers/games/__init__.py +++ b/houdini/handlers/games/__init__.py @@ -75,7 +75,7 @@ async def handle_get_game_over(p, score: int): if p.room.game and not p.waddle and not p.table: coins_earned = determine_coins_earned(p, score) if await determine_coins_overdose(p, coins_earned): - await cheat_ban(p, p.id, comment='Coins overdose') + return await cheat_ban(p, p.id, comment='Coins overdose') collected_stamps_string, total_collected_stamps, total_game_stamps, total_stamps = '', 0, 0, 0 if p.room.stamp_group: