projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18523f7
)
Add a comment for the ghost spectator bot workaround
author
terencehill <piuntn@gmail.com>
Fri, 13 May 2022 23:00:47 +0000
(
01:00
+0200)
committer
terencehill <piuntn@gmail.com>
Fri, 13 May 2022 23:00:47 +0000
(
01:00
+0200)
qcsrc/server/bot/default/bot.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/bot/default/bot.qc
b/qcsrc/server/bot/default/bot.qc
index 890cb6e42ec8969355b5041f4810377a39d6dc2c..79b3a96924754bf066ef762b7d602c03faa9ca8b 100644
(file)
--- 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;