From: terencehill Date: Sun, 12 May 2013 16:18:01 +0000 (+0200) Subject: Stop sv_maxidle countdown messages X-Git-Tag: xonotic-v0.7.0~52^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=db17c5a41b6b1ad3177fd89dd4d51f838f06ae9b;p=xonotic%2Fxonotic-data.pk3dir.git Stop sv_maxidle countdown messages --- 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 {