From 60532e133db4dcb81659a5283bca23a1567cacf9 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 14 May 2022 01:00:47 +0200 Subject: [PATCH] Add a comment for the ghost spectator bot workaround --- qcsrc/server/bot/default/bot.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index 890cb6e42..79b3a9692 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -681,6 +681,7 @@ void bot_serverframe() // spectators in the scoreboard and never go away. This issue happens at time 2 if map is changed // with the gotomap command, minplayers is > 1 and human clients join as players very soon // either intentionally or automatically (sv_spectate 0) + // A working workaround for this bug was implemented in commit fbd145044, see entcs_attach if (time < 2.5) { currentbots = -1; -- 2.39.2