From 70c98c8fc07e690bc81574f328822e9ce19dac98 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 27 Feb 2016 16:08:47 +1000 Subject: [PATCH] Prevent picking up nades while frozen --- qcsrc/common/mutators/mutator/nades/nades.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 720a8f0e8..b54ee9176 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -696,6 +696,7 @@ void nade_touch() if(autocvar_g_nades_pickup) if(time >= self.spawnshieldtime) if(!other.nade && self.health == self.max_health) // no boosted shot pickups, thank you very much + if(!other.frozen) if(CanThrowNade(other)) // prevent some obvious things, like dead players if(IS_REAL_CLIENT(other)) // above checks for IS_PLAYER, don't need to do it here { -- 2.39.2