]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_damage.qc
More work on unifying team functions
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_damage.qc
index b32424d37dc0840e51ad330bcc6fead80cbe2730..3a211853c4634b58d6f14b32c72d3eab577ace25 100644 (file)
@@ -334,7 +334,7 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype)
 
                if (targ == attacker) // suicides
                {
-                       s1 = ((deathtype == DEATH_TEAMCHANGE || deathtype == DEATH_AUTOTEAMCHANGE) ? ColoredTeamName(targ.team) : "");
+                       s1 = ((deathtype == DEATH_TEAMCHANGE || deathtype == DEATH_AUTOTEAMCHANGE) ? Team_ColoredFullName(targ.team) : "");
 
                        // no "killed your own dumb self" message in CTS
             if(!g_cts) { Obituary_Notification(targ, s1, "", "", deathtype); }