]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
sv_maxidle*: do nothing if the match has ended
authorbones_was_here <bones_was_here@xa.org.au>
Sun, 18 Apr 2021 10:55:11 +0000 (20:55 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sun, 18 Apr 2021 11:03:07 +0000 (21:03 +1000)
qcsrc/server/client.qc

index c6c1ecf12a46712b6b21f2e90d9120a81c4b5afe..c0c05e9c759563ae40f483c738c9f9a2566a0dc3 100644 (file)
@@ -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)