From e93f430a42c14a2c1b50dab2af87cc19575718e4 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Wed, 17 Nov 2010 20:56:27 +0200 Subject: [PATCH] lol STUPID mistake. Only break if we actually FOUND a teammate nearby --- qcsrc/server/mutators/gamemode_freezetag.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index 3e5deb281..28c408ace 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -169,7 +169,8 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerPreThink) if(other.team == self.team) { teammate_nearby = boxesoverlap(self.absmin - revive_extra_size, self.absmax + revive_extra_size, other.absmin, other.absmax); - break; + if(teammate_nearby) + break; } } } -- 2.39.2