]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Always draw the scoreboard on top
authorterencehill <piuntn@gmail.com>
Tue, 16 Aug 2016 12:20:10 +0000 (14:20 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 16 Aug 2016 12:20:10 +0000 (14:20 +0200)
qcsrc/client/hud/hud.qc
qcsrc/client/hud/panel/scoreboard.qc

index acd94ad8683a0c1e728e634674cacc98ff3cb888..d72682a4b7e8562bba144b8e73e58ac738a3281f 100644 (file)
@@ -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();
index 1357dfee560561c25790a7177e2bc5fe44d5d11d..4e4897f24ec95129387d130dea513822dc3de68f 100644 (file)
@@ -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)