From c32f7f695d6d9044287c7a98bd6ef9c2e4088a52 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 21 Nov 2016 17:50:55 +0100 Subject: [PATCH] Fix #1834 "Server info doesn't timeout in LMS" --- qcsrc/server/client.qc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index f9c4662c3..fa34eab94 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1190,12 +1190,6 @@ void ClientConnect(entity this) if (IS_REAL_CLIENT(this)) { - if (!autocvar_g_campaign) - { - this.motd_actived_time = -1; - Send_Notification(NOTIF_ONE_ONLY, this, MSG_CENTER, CENTER_MOTD, getwelcomemessage(this)); - } - if (g_weaponarena_weapons == WEPSET(TUBA)) stuffcmd(this, "cl_cmd settemp chase_active 1\n"); } @@ -1222,6 +1216,15 @@ void ClientConnect(entity this) }); MUTATOR_CALLHOOK(ClientConnect, this); + + if (IS_REAL_CLIENT(this)) + { + if (!autocvar_g_campaign && !IS_PLAYER(this)) + { + this.motd_actived_time = -1; + Send_Notification(NOTIF_ONE_ONLY, this, MSG_CENTER, CENTER_MOTD, getwelcomemessage(this)); + } + } } /* ============= -- 2.39.2