Merge branch 'terencehill/hide_motd' into 'master'
authorMario <zacjardine@y7mail.com>
Sat, 31 Oct 2015 09:59:09 +0000 (09:59 +0000)
committerMario <zacjardine@y7mail.com>
Sat, 31 Oct 2015 09:59:09 +0000 (09:59 +0000)
Hide the MOTD when going spec

See merge request !246

qcsrc/server/cl_client.qc

index 09ce11a4204ae3607666def582956342df8f48e7..7a18231392b3216e6a596fe71b48048d012c3b60 100644 (file)
@@ -1990,7 +1990,7 @@ void PrintWelcomeMessage()
        {
                if(self.BUTTON_INFO) // BUTTON_INFO hides initial MOTD
                        self.motd_actived_time = -2; // wait until BUTTON_INFO gets released
-               else if(self.motd_actived_time == -2 || IS_PLAYER(self))
+               else if(self.motd_actived_time == -2 || IS_PLAYER(self) || IS_SPEC(self))
                {
                        // instanctly hide MOTD
                        self.motd_actived_time = 0;