From: terencehill Date: Tue, 23 Aug 2016 15:29:48 +0000 (+0200) Subject: Scoreboard columns: remove not working "k/d" keyword; make "kd" keyword show "k/d... X-Git-Tag: xonotic-v0.8.2~676 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=918d5725fb2dae6588ee1a2bb36b7a382d277d5a;p=xonotic%2Fxonotic-data.pk3dir.git Scoreboard columns: remove not working "k/d" keyword; make "kd" keyword show "k/d" instead of "kd" --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 1fcdea2de..0747408af 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -67,8 +67,7 @@ string TranslateScoresLabel(string l) case "goals": return CTX(_("SCO^goals")); case "kckills": return CTX(_("SCO^kckills")); case "kdratio": return CTX(_("SCO^kdratio")); - case "k/d": return CTX(_("SCO^k/d")); - case "kd": return CTX(_("SCO^kd")); + case "kd": return CTX(_("SCO^k/d")); case "kdr": return CTX(_("SCO^kdr")); case "kills": return CTX(_("SCO^kills")); case "laps": return CTX(_("SCO^laps")); @@ -431,7 +430,7 @@ void Cmd_Scoreboard_SetFields(int argc) { case "ping": sbt_field[sbt_num_fields] = SP_PING; break; case "pl": sbt_field[sbt_num_fields] = SP_PL; break; - case "kd": case "kdr": case "kdratio": case "k/d": sbt_field[sbt_num_fields] = SP_KDRATIO; break; + case "kd": case "kdr": case "kdratio": sbt_field[sbt_num_fields] = SP_KDRATIO; break; case "sum": case "diff": case "k-d": sbt_field[sbt_num_fields] = SP_SUM; break; case "name": case "nick": sbt_field[sbt_num_fields] = SP_NAME; have_name = true; break; case "|": sbt_field[sbt_num_fields] = SP_SEPARATOR; have_separator = true; break;