From 2b0443836b8b4b11521908c4d4688db764cb3822 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 31 Aug 2015 01:03:58 +1000 Subject: [PATCH] Don't kick bots for idling --- qcsrc/server/cl_client.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 3674755f2..4d7b9fa0b 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2663,6 +2663,7 @@ Called every frame for each client after the physics are run void PlayerPostThink (void) { if(sv_maxidle > 0 && frametime) // WORKAROUND: only use dropclient in server frames (frametime set). Never use it in cl_movement frames (frametime zero). + if(IS_REAL_CLIENT(self)) if(IS_PLAYER(self) || sv_maxidle_spectatorsareidle) { if (time - self.parm_idlesince < 1) // instead of (time == self.parm_idlesince) to support sv_maxidle <= 10 -- 2.39.2