]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Quickmenu: fix names starting with yellow in the player list
authorterencehill <piuntn@gmail.com>
Mon, 1 Mar 2021 20:18:33 +0000 (21:18 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 1 Mar 2021 20:18:33 +0000 (21:18 +0100)
qcsrc/client/hud/panel/quickmenu.qc

index e9e7fe831e0e92e1f68078cc6774b50e9f6d89f6..e3cfa12dd26953853c9a4b68e98b710c75a72cd1 100644 (file)
@@ -777,7 +777,7 @@ void HUD_Quickmenu_PlayerListEntries(string cmd, int teamplayers, bool without_m
                        continue;
                if(without_me && pl.sv_entnum == player_localnum)
                        continue;
-               QUICKMENU_ENTRY(entcs_GetName(pl.sv_entnum), sprintf(cmd, entcs_GetName(pl.sv_entnum)))
+               QUICKMENU_ENTRY(strcat("^7", entcs_GetName(pl.sv_entnum)), sprintf(cmd, entcs_GetName(pl.sv_entnum)))
        }
 
        return;