]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
HUD_Reset is a HUD thing
authorterencehill <piuntn@gmail.com>
Fri, 9 Oct 2015 15:58:41 +0000 (17:58 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 9 Oct 2015 15:58:41 +0000 (17:58 +0200)
qcsrc/client/hud.qc
qcsrc/client/view.qc

index 76a19a60e137c8f9ec3c0f75c8b32afd2ac61ff8..eee714013a493624fc393e2d6cc4ce571cda484b 100644 (file)
@@ -4869,6 +4869,9 @@ void HUD_Main(void)
        if(hud_panel_quickmenu)
                HUD_Panel_Draw(HUD_PANEL(QUICKMENU));
 
+       if (scoreboard_active || intermission == 2)
+               HUD_Reset();
+
        HUD_Configure_PostDraw();
 
        hud_configure_prev = autocvar__hud_configure;
index 187356894d970f19a53aba299f79f558d77888e6..c1d0f4791b9964ab4ed541546fa09dfa3502d84b 100644 (file)
@@ -1025,9 +1025,6 @@ void HUD_Draw()
 
                        HUD_Main();
                        HUD_DrawScoreboard();
-
-                       if (scoreboard_active || intermission == 2)
-                               HUD_Reset();
                }
 
        // crosshair goes VERY LAST