From be2e48a0f1883a8906d7e19fd9e96c1fdb55fb70 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 3 Jan 2016 23:16:00 +1000 Subject: [PATCH] Fix self usage in midair mutator's PlayerDamage hook --- qcsrc/common/mutators/mutator/midair/midair.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/midair/midair.qc b/qcsrc/common/mutators/mutator/midair/midair.qc index 7850166a1..622572c36 100644 --- a/qcsrc/common/mutators/mutator/midair/midair.qc +++ b/qcsrc/common/mutators/mutator/midair/midair.qc @@ -10,7 +10,7 @@ MUTATOR_HOOKFUNCTION(midair, PlayerDamage_Calculate) {SELFPARAM(); if(IS_PLAYER(frag_attacker)) if(IS_PLAYER(frag_target)) - if(time < self.midair_shieldtime) + if(time < frag_target.midair_shieldtime) frag_damage = false; return false; -- 2.39.2