From b4f47fe3a22256f03cf0200f8707cb0777fbc976 Mon Sep 17 00:00:00 2001 From: z411 Date: Sat, 7 Nov 2020 21:54:51 -0300 Subject: [PATCH] playername: Don't decolorize players not in a team --- qcsrc/common/util.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index ee0eb1058..6e644a15b 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -2010,7 +2010,7 @@ float LostMovetypeFollow(entity ent) string playername(string thename, int teamid, bool team_colorize) { TC(int, teamid); - bool do_colorize = (teamplay && team_colorize); + bool do_colorize = (teamplay && team_colorize && Team_IsValidTeam(teamid)); #ifdef SVQC if(do_colorize && !intermission_running) #else -- 2.39.2