From: Mario Date: Tue, 25 Aug 2015 03:05:56 +0000 (+1000) Subject: Fix turrets in assault X-Git-Tag: xonotic-v0.8.2~2034 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=739ca41ea65679212764dd05aaf2741f2e5fc759;p=xonotic%2Fxonotic-data.pk3dir.git Fix turrets in assault --- 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; }