]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Simplified welcome message
authorz411 <z411@omaera.org>
Tue, 3 Nov 2020 01:59:16 +0000 (22:59 -0300)
committerz411 <z411@omaera.org>
Tue, 3 Nov 2020 01:59:16 +0000 (22:59 -0300)
qcsrc/server/client.qc

index 1dcab6ef3caffd63a12c3af2ea380ca6389b34a1..22926d7b2af49ca64ccb3297f31d170f8484815c 100644 (file)
@@ -1068,10 +1068,11 @@ string getwelcomemessage(entity this)
                modifications = strcat(modifications, ", Powerups");
        modifications = substring(modifications, 2, strlen(modifications) - 2);
 
-       string versionmessage = GetClientVersionMessage(this);
-       string s = strcat(versionmessage, "^8\n^9", (autocvar_hostname_full ? autocvar_hostname_full : autocvar_hostname));
+       //string versionmessage = GetClientVersionMessage(this);
+       //string s = strcat(versionmessage, "^8\n^9", (autocvar_hostname_full ? autocvar_hostname_full : autocvar_hostname));
+       string s = (autocvar_hostname_full ? autocvar_hostname_full : autocvar_hostname));
 
-       s = strcat(s, "^8\n^1", gamemode_name);
+       s = strcat(s, "^8\n^7", gamemode_name);
 
        if(modifications != "")
                s = strcat(s, "^7 | ^3", modifications);