From 368cc148b3d8dbe67760c95b228e6cb3c2b61c8c Mon Sep 17 00:00:00 2001 From: jdaster64 Date: Wed, 24 Sep 2025 11:18:10 -0400 Subject: [PATCH] Rework anti-infinite shell combo --- Scripts/Classes/Entities/ShellClass.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Scripts/Classes/Entities/ShellClass.gd b/Scripts/Classes/Entities/ShellClass.gd index a4ca655..6aa719f 100644 --- a/Scripts/Classes/Entities/ShellClass.gd +++ b/Scripts/Classes/Entities/ShellClass.gd @@ -143,9 +143,8 @@ func add_combo() -> void: award_score(combo + 3) if combo < 7: combo += 1 - - # Force limit on how long you can let a shell hit respawning enemies. - if Global.current_game_mode == Global.GameMode.CHALLENGE and moving_time > 12.0: + elif Global.current_game_mode == Global.GameMode.CHALLENGE and moving_time > 12.0: + # Force limit on how long you can let a shell hit respawning enemies. die() func update_hitbox() -> void: