From: LegendaryGuard Date: Thu, 30 Jun 2022 23:20:56 +0000 (+0200) Subject: Leave if's 'round_handler_IsRoundStarted' as should be before X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f33340a994ab4f183513228790cea20d35e4ee0e;p=xonotic%2Fxonotic-data.pk3dir.git Leave if's 'round_handler_IsRoundStarted' as should be before --- 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;