From 8f19f3e05168be07eb61c6aa3dfd38eb0a6d1fa1 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 14 Aug 2016 15:25:31 +0200 Subject: [PATCH] Get rid of a warning in the console when starting a game: "fixed missing field ''" --- qcsrc/client/hud/panel/scoreboard.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index e725878a3..3d6d77fc7 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -363,6 +363,7 @@ void Cmd_Scoreboard_SetFields(int argc) // no layout can be properly set up until score_info data haven't been received argc = tokenizebyseparator("0 1 ping pl name | score", " "); ps_primary = SP_SCORE; + ps_secondary = SP_SCORE; scores_label(ps_primary) = strzone("score"); scores_flags(ps_primary) = SFL_ALLOW_HIDE; } -- 2.39.2