From 739ca41ea65679212764dd05aaf2741f2e5fc759 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 25 Aug 2015 13:05:56 +1000 Subject: [PATCH] Fix turrets in assault --- qcsrc/server/mutators/gamemode_assault.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_assault.qc b/qcsrc/server/mutators/gamemode_assault.qc index 4700c57d8..f3b478659 100644 --- a/qcsrc/server/mutators/gamemode_assault.qc +++ b/qcsrc/server/mutators/gamemode_assault.qc @@ -553,8 +553,8 @@ MUTATOR_HOOKFUNCTION(assault_PlayerSpawn) MUTATOR_HOOKFUNCTION(assault_TurretSpawn) { - if (!self.team) - self.team = 14; + if(!self.team || self.team == MAX_SHOT_DISTANCE) + self.team = 5; // this gets reversed when match starts? return false; } -- 2.39.2