]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hide the MOTD when going spec 246/head
authorterencehill <piuntn@gmail.com>
Tue, 27 Oct 2015 12:37:57 +0000 (13:37 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 27 Oct 2015 12:37:57 +0000 (13:37 +0100)
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;