From: bones_was_here Date: Sun, 18 Apr 2021 10:55:11 +0000 (+1000) Subject: sv_maxidle*: do nothing if the match has ended X-Git-Tag: xonotic-v0.8.5~419^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5e884b67fc8e174e25e6ae9c98aeb3c4b0d7bb1a;p=xonotic%2Fxonotic-data.pk3dir.git sv_maxidle*: do nothing if the match has ended --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index c6c1ecf12..c0c05e9c7 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -2702,6 +2702,7 @@ void PlayerPostThink (entity this) if (frametime) // WORKAROUND: only use dropclient in server frames (frametime set). Never use it in cl_movement frames (frametime zero). if (IS_REAL_CLIENT(this)) if (IS_PLAYER(this) || autocvar_sv_maxidle_spectatorsareidle) + if (!intermission_running) // NextLevel() kills all centerprints after setting this true { int totalClients = 0; if(autocvar_sv_maxidle > 0 && autocvar_sv_maxidle_slots > 0)