]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a comment for the ghost spectator bot workaround
authorterencehill <piuntn@gmail.com>
Fri, 13 May 2022 23:00:47 +0000 (01:00 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 13 May 2022 23:00:47 +0000 (01:00 +0200)
qcsrc/server/bot/default/bot.qc

index 890cb6e42ec8969355b5041f4810377a39d6dc2c..79b3a96924754bf066ef762b7d602c03faa9ca8b 100644 (file)
@@ -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;