Skip to content

Commit

Permalink
BaseMenu: don't open menu if engine called SetActiveMenu multiple tim…
Browse files Browse the repository at this point in the history
…es switching from active to inactive

Which may happen in case of cinematic logo playing
  • Loading branch information
a1batross committed May 17, 2023
1 parent 262128c commit a91b17e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BaseMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,7 @@ void UI_SetActiveMenu( int fActive )
else
{
UI_CloseMenu();
uiStatic.nextFrameActive = false; // don't call main menu next frame
}
}

Expand Down

0 comments on commit a91b17e

Please sign in to comment.