From cb18df203f02479bd53303d9d621ed9a2c079095 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 20 Mar 2019 19:50:45 +0100 Subject: [PATCH] Fix #2208 "Using custom bot teams completely breaks 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 5d3448491..4f0b8d01d 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -429,7 +429,7 @@ void bot_clientconnect(entity this) if (Team_IsValidIndex(this.bot_forced_team)) { - this.team = Team_IndexToTeam(this.bot_forced_team); + SetPlayerTeam(this, this.bot_forced_team, TEAM_CHANGE_MANUAL); } else { -- 2.39.2