From: z411 Date: Mon, 7 Feb 2022 22:45:48 +0000 (-0300) Subject: Fixed rank showing twice in Duel Scoreboard X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a1c22d5c0e42b838103624cbc4e54ba366285b9d;p=xonotic%2Fxonotic-data.pk3dir.git Fixed rank showing twice in Duel Scoreboard --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 9a2664b06..f3b8581e1 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1319,7 +1319,7 @@ void Scoreboard_Duel_DrawTable(vector pos, bool invert, entity pl, entity tm) } // Player name - tmp_str = Scoreboard_GetField(pl, SP_NAME); + tmp_str = entcs_GetName(pl.sv_entnum); if(invert) tmp_in.x -= stringwidth_colors(tmp_str, duel_name_fontsize) + duel_name_fontsize.x * 0.5; else