From: AriosJentu Date: Sun, 16 May 2021 09:40:49 +0000 (+1000) Subject: Replace scoreboard spectators position from 'after rankings' to 'before rankings' X-Git-Tag: xonotic-v0.8.5~411^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da0617a5ca02ecb564c9ccc0b138d314e7058998;p=xonotic%2Fxonotic-data.pk3dir.git Replace scoreboard spectators position from 'after rankings' to 'before rankings' --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 179ce4c49..96f352710 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -120,7 +120,7 @@ seta hud_panel_scoreboard_maxheight 0.6 "max height of the scoreboard; a few pla seta hud_panel_scoreboard_others_showscore 1 "show scores of players listed in the last row when the scoreboard reaches the max height" seta hud_panel_scoreboard_spectators_showping 1 "show ping of spectators" seta hud_panel_scoreboard_spectators_aligned 0 "align spectators in columns" -seta hud_panel_scoreboard_spectators_position 2 "align spectators panel on scoreboard screen (0 = before accuracy and itemstats, 1 = before rankings, 2 = after rankings, 3 = after map stats)" +seta hud_panel_scoreboard_spectators_position 1 "align spectators panel on scoreboard screen (0 = before accuracy and itemstats, 1 = before rankings, 2 = after rankings, 3 = after map stats)" seta hud_panel_scoreboard_minwidth 0.6 "minimum width of the scoreboard" seta hud_panel_scoreboard_team_size_position 0 "where to show the team size (0 = do not show, 1 = left of scoreboard, 2 = right of scoreboard), will move team scores to the other side if necessary" seta hud_panel_scoreboard_playerid 0 "show player id (server entity number) next to player's name" diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index a0da24e39..8d2748745 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -81,7 +81,7 @@ float autocvar_hud_panel_scoreboard_table_highlight_alpha_eliminated = 0.6; float autocvar_hud_panel_scoreboard_bg_teams_color_team = 0; float autocvar_hud_panel_scoreboard_namesize = 15; float autocvar_hud_panel_scoreboard_team_size_position = 0; -float autocvar_hud_panel_scoreboard_spectators_position = 2; +float autocvar_hud_panel_scoreboard_spectators_position = 1; bool autocvar_hud_panel_scoreboard_accuracy = true; bool autocvar_hud_panel_scoreboard_accuracy_doublerows = false;