]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed colored chat names
authorz411 <z411@omaera.org>
Sat, 7 Nov 2020 01:52:06 +0000 (22:52 -0300)
committerz411 <z411@omaera.org>
Sat, 7 Nov 2020 01:52:06 +0000 (22:52 -0300)
qcsrc/server/chat.qc

index bf3e600f7a65755599ac0ea4946c8099530f0ab6..2900ddb01c5313d3eaccab50a2e67be586e1e9b1 100644 (file)
@@ -63,7 +63,7 @@ int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc
 
        string namestr = "";
        if (source) {
-               namestr = playername(source.netname, source.team, (autocvar_g_chat_teamcolors && IS_PLAYER(source)));
+               namestr = playername(source.netname, source.team, (autocvar_g_chat_teamcolors));
                
                if (IS_DEAD(source) || source.frags == FRAGS_PLAYER_OUT_OF_GAME)
                        namestr = strcat("(DEAD) ", namestr);