From: terencehill Date: Tue, 16 Aug 2016 12:20:10 +0000 (+0200) Subject: Always draw the scoreboard on top X-Git-Tag: xonotic-v0.8.2~674^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e91a641b1366a7d78072f4bd82478ac1b03dd29f;p=xonotic%2Fxonotic-data.pk3dir.git Always draw the scoreboard on top --- diff --git a/qcsrc/client/hud/hud.qc b/qcsrc/client/hud/hud.qc index acd94ad86..d72682a4b 100644 --- a/qcsrc/client/hud/hud.qc +++ b/qcsrc/client/hud/hud.qc @@ -614,6 +614,7 @@ void HUD_Main() HUD_Panel_Draw(HUD_PANEL(CHAT)); if(hud_panel_quickmenu) HUD_Panel_Draw(HUD_PANEL(QUICKMENU)); + HUD_Panel_Draw(HUD_PANEL(SCOREBOARD)); if (scoreboard_active || intermission == 2) HUD_Reset(); diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 1357dfee5..4e4897f24 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -1286,6 +1286,8 @@ void Scoreboard_Draw() { if(!autocvar__hud_configure) { + if(!hud_draw_maximized) return; + // frametime checks allow to toggle the scoreboard even when the game is paused if(scoreboard_active) { if(hud_configure_menu_open == 1)