Skip to content

Commit

Permalink
Add system menu show to mo6 update loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Dextinfire committed Oct 14, 2024
1 parent 50632a4 commit 7ee71c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/games/mo6tw/systemmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ void SystemMenu::Update(float dt) {
UpdateInput();

FadeAnimation.Update(dt);
if (GetFlag(SF_SYSTEMMENU) && State == Hidden) {
Show();
}
if (ScrWork[SW_SYSMENUALPHA] < 256 && State == Shown) {
Hide();
}
Expand Down

0 comments on commit 7ee71c6

Please sign in to comment.