From: terencehill Date: Fri, 13 May 2022 23:00:47 +0000 (+0200) Subject: Add a comment for the ghost spectator bot workaround X-Git-Tag: xonotic-v0.8.5~36 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=60532e133db4dcb81659a5283bca23a1567cacf9;p=xonotic%2Fxonotic-data.pk3dir.git Add a comment for the ghost spectator bot workaround --- 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;