]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Always use white text when there's /me in a chat line; it fixes "if your name has...
authorterencehill <piuntn@gmail.com>
Mon, 14 Jan 2019 14:14:38 +0000 (15:14 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 14 Jan 2019 14:14:38 +0000 (15:14 +0100)
qcsrc/server/client.qc

index ee87e2ea286015561b4ae48d76b26e3f2dee47fd..fe0c04179ddcec573cb03e0fa7511ab039dc97c8 100644 (file)
@@ -2750,7 +2750,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(colorstr, "(", colorprefix, namestr, colorstr, ")", colorprefix) : strcat(colorprefix, namestr, colorprefix));
+                       string newnamestr = ((teamsay) ? strcat(colorstr, "(", colorprefix, namestr, colorstr, ")", "^7") : strcat(colorprefix, namestr, "^7"));
                        FOREACH_WORD(msgin, true,
                        {
                                if(strdecolorize(it) == "/me")