From f33340a994ab4f183513228790cea20d35e4ee0e Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Fri, 1 Jul 2022 01:20:56 +0200 Subject: [PATCH] Leave if's 'round_handler_IsRoundStarted' as should be before --- qcsrc/common/mutators/mutator/nades/nades.qc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index e12a73e447..98bb3dc879 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -887,7 +887,8 @@ void nade_emerald_dropping(vector org) void emerald_ball_think(entity this) { - if(round_handler_IsActive() && !round_handler_IsRoundStarted()) + if(round_handler_IsActive()) + if(!round_handler_IsRoundStarted()) { delete(this); return; @@ -951,7 +952,8 @@ void nade_emerald_ball(entity this) void emerald_fountain_think(entity this) { - if(round_handler_IsActive() && !round_handler_IsRoundStarted()) + if(round_handler_IsActive()) + if(!round_handler_IsRoundStarted()) { delete(this); return; @@ -1190,7 +1192,8 @@ void dark_damage(entity this, float radius, float damage) void nade_dark_fountain_think(entity this) { - if(round_handler_IsActive() && !round_handler_IsRoundStarted()) + if(round_handler_IsActive()) + if(!round_handler_IsRoundStarted()) { delete(this); return; -- 2.39.2