]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Get rid of a warning in the console when starting a game: "fixed missing field ''"
authorterencehill <piuntn@gmail.com>
Sun, 14 Aug 2016 13:25:31 +0000 (15:25 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 14 Aug 2016 13:25:31 +0000 (15:25 +0200)
qcsrc/client/hud/panel/scoreboard.qc

index e725878a378ecae78b8db514987d66292b50a4ee..3d6d77fc7fea9d56d3439b0fffd8b0a67f6d840e 100644 (file)
@@ -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;
        }