From: terencehill Date: Tue, 13 Mar 2018 21:30:10 +0000 (+0100) Subject: Restore ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", 0); ELO display was broken :/ X-Git-Tag: xonotic-v0.8.5~2233 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5800bdfe2db4e11fa057f480431ac539b6e2bcb4;p=xonotic%2Fxonotic-data.pk3dir.git Restore ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", 0); ELO display was broken :/ --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 6078d0b42..89a2c007a 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -406,7 +406,7 @@ void Cmd_Scoreboard_SetFields(int argc) argc = tokenizebyseparator(strcat("0 1 ", SCOREBOARD_DEFAULT_COLUMNS), " "); else if(argv(2) == "all") { - string s = "ping pl elo name |"; // scores without a label + string s = "ping pl name |"; // scores without a label FOREACH(Scores, true, { if(it != ps_primary) if(it != ps_secondary) diff --git a/qcsrc/server/scores_rules.qc b/qcsrc/server/scores_rules.qc index 8262e3767..64c94001f 100644 --- a/qcsrc/server/scores_rules.qc +++ b/qcsrc/server/scores_rules.qc @@ -54,6 +54,7 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled ScoreInfo_SetLabel_PlayerScore(SP_DMG, "dmg", 0); ScoreInfo_SetLabel_PlayerScore(SP_DMGTAKEN, "dmgtaken", SFL_LOWER_IS_BETTER); + ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", 0); if(STAT(SHOWFPS)) ScoreInfo_SetLabel_PlayerScore(SP_FPS, "fps", 0);