From 22f0de3a637faff0746b652e3657ec271f8646a6 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 23 Sep 2010 19:01:19 +0300 Subject: [PATCH] Fix a bug (apparently from Nexuiz) that would cause a bot's team overrider to be ignored in Clan Arena games between rounds (the bot would be assigned to the smallest team after the first round, regardless of his team overrider). --- data/qcsrc/server/teamplay.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/server/teamplay.qc b/data/qcsrc/server/teamplay.qc index c829326c..c2daf081 100644 --- a/data/qcsrc/server/teamplay.qc +++ b/data/qcsrc/server/teamplay.qc @@ -886,7 +886,7 @@ float JoinBestTeam(entity pl, float only_return_best, float forcebestteam) smallest = FindSmallestTeam(pl, TRUE); - if(!only_return_best) + if(!only_return_best && !pl.bot_forced_team) { TeamchangeFrags(self); if(smallest == 1) -- 2.39.2