]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/mutator_nades.qc
Get rid of if not, step 1.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_nades.qc
index d911720de536c00407b85d83ee2de43b382c54a8..3d0df5dae5460f46d3a45033dc3a944630a03ef8 100644 (file)
@@ -247,13 +247,13 @@ float CanThrowNade()
        if(self.deadflag != DEAD_NO)
                return FALSE;
        
-       if not(autocvar_g_nades)
+       if (!autocvar_g_nades)
                return FALSE; // allow turning them off mid match
                
        if(forbidWeaponUse())
                return FALSE;
                
-       if not(IS_PLAYER(self))
+       if (!IS_PLAYER(self))
                return FALSE;
                
        return TRUE;