]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Leave if's 'round_handler_IsRoundStarted' as should be before
authorLegendaryGuard <rootuser999@gmail.com>
Thu, 30 Jun 2022 23:20:56 +0000 (01:20 +0200)
committerLegendaryGuard <rootuser999@gmail.com>
Thu, 30 Jun 2022 23:20:56 +0000 (01:20 +0200)
qcsrc/common/mutators/mutator/nades/nades.qc

index e12a73e4478b98a522eda56da4ffa899add8e2b3..98bb3dc87956906ca0aa4f2b33909d32018e98b7 100644 (file)
@@ -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;