From db17c5a41b6b1ad3177fd89dd4d51f838f06ae9b Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 12 May 2013 18:18:01 +0200 Subject: [PATCH] Stop sv_maxidle countdown messages --- qcsrc/server/cl_client.qc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 02839baa2..a6f202e99 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2780,7 +2780,11 @@ void PlayerPostThink (void) { if (time - self.parm_idlesince < 1) // instead of (time == self.parm_idlesince) to support sv_maxidle <= 10 { - if(self.idlekick_lasttimeleft) { self.idlekick_lasttimeleft = 0; } + if(self.idlekick_lasttimeleft) + { + self.idlekick_lasttimeleft = 0; + Kill_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER_CPID, CPID_IDLING); + } } else { -- 2.39.2