bool HUD_QuickMenu_Forbidden()
{
return (mv_active
+ || scoreboard_ui_enabled
|| (hud_configure_prev && hud_configure_prev != -1)
|| HUD_MinigameMenu_IsOpened()
|| (QuickMenu_TimeOut && time > QuickMenu_TimeOut));
if ( !hud_panel_radar_mouse ) return;
if(mv_active) return;
- if ( intermission )
- {
- HUD_Radar_Hide_Maximized();
- return;
- }
-
- if(mouseClicked & S_MOUSE2)
+ if (intermission || scoreboard_ui_enabled || (mouseClicked & S_MOUSE2))
{
HUD_Radar_Hide_Maximized();
return;
}
else if(nPrimary == K_ENTER || nPrimary == K_SPACE || nPrimary == K_KP_ENTER)
{
- if (bInputType == 1)
+ if (!key_pressed)
return true;
if (scoreboard_selected_panel == SB_PANEL_SCOREBOARD)
{
}
else if(nPrimary == 't' && (hudShiftState & S_CTRL))
{
- if (bInputType == 1)
+ if (!key_pressed)
return true;
if (scoreboard_selected_panel == SB_PANEL_SCOREBOARD)
{
}
else if(nPrimary == 'k' && (hudShiftState & S_CTRL))
{
- if (bInputType == 1)
+ if (!key_pressed)
return true;
if (scoreboard_selected_panel == SB_PANEL_SCOREBOARD)
{
bool Scoreboard_WouldDraw()
{
- if (MUTATOR_CALLHOOK(DrawScoreboard))
+ if (scoreboard_ui_enabled)
+ return true;
+ else if (MUTATOR_CALLHOOK(DrawScoreboard))
return false;
else if (QuickMenu_IsOpened())
return false;