From: Mario Date: Thu, 18 Apr 2013 11:12:15 +0000 (+1000) Subject: Don't give players frozen by monsters points if a teammate is revived nearby X-Git-Tag: xonotic-v0.8.0~241^2^2~341 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e7dd93988097e328f7152a8712613daf627d017;p=xonotic%2Fxonotic-data.pk3dir.git Don't give players frozen by monsters points if a teammate is revived nearby --- diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index 0251a5b3a..f87f2861a 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -326,7 +326,7 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerPreThink) // EVERY team mate nearby gets a point (even if multiple!) FOR_EACH_PLAYER(other) if(self != other) { - if(other.frozen != 1) + if(!other.frozen) { if(other.team == self.team) {