From 997a376759d335cf5c8265e13d25069b50ff7448 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 8 Apr 2019 01:46:10 +0200 Subject: [PATCH] Apply forced team to bots only in team games --- qcsrc/server/bot/default/bot.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index 4f0b8d01d..7061ff91c 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -427,7 +427,7 @@ void bot_clientconnect(entity this) bot_setclientfields(this); } - if (Team_IsValidIndex(this.bot_forced_team)) + if (teamplay && Team_IsValidIndex(this.bot_forced_team)) { SetPlayerTeam(this, this.bot_forced_team, TEAM_CHANGE_MANUAL); } -- 2.39.2