Hide the MOTD when going spec
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index d6522285ba23ad4b8be05931c73c7d6042c43d63..8bb7861f2287d21c06f489e33719b3aa87e99b85 100644 (file)
@@ -1982,7 +1982,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;