From: Mario Date: Sat, 27 Oct 2018 21:10:29 +0000 (+1000) Subject: Undo color prefix change (has no effect) X-Git-Tag: xonotic-v0.8.5~1661^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=49a10bcc4ba8f495fc04b300342ad0473ee7b038;p=xonotic%2Fxonotic-data.pk3dir.git Undo color prefix change (has no effect) --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 5481b67e55..d54abcb6c9 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -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")