]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Undo color prefix change (has no effect)
authorMario <mario@smbclan.net>
Sat, 27 Oct 2018 21:10:29 +0000 (07:10 +1000)
committerMario <mario@smbclan.net>
Sat, 27 Oct 2018 21:10:29 +0000 (07:10 +1000)
qcsrc/server/client.qc

index 5481b67e552ce9aa8fc3bf0dc196b69d9c7079b0..d54abcb6c9ed65eb086b4c221dba8384dc7e0239 100644 (file)
@@ -2745,7 +2745,7 @@ int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc
                if(strstrofs(msgin, "/me", 0) >= 0)
                {
                        string newmsgin = "";
-                       string newnamestr = ((teamsay) ? strcat("^7", colorstr, "(", colorprefix, namestr, colorstr, ")^7") : strcat("^7", colorprefix, namestr));
+                       string newnamestr = ((teamsay) ? strcat(colorstr, "(", colorprefix, namestr, colorstr, ")^7") : strcat(colorprefix, namestr));
                        FOREACH_WORD(msgin, true,
                        {
                                if(strdecolorize(it) == "/me")