Skip to content

Commit

Permalink
fix backing out of menu in overworld
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelFB committed Feb 5, 2024
1 parent 17c8e99 commit a31972a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Helpers/Menu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public void Update()
{
CurrentMenu.HandleInput();

if (Controls.Cancel.ConsumePress() && !IsInMainMenu)
if (!IsInMainMenu && Controls.Cancel.ConsumePress())
{
Audio.Play(Sfx.main_menu_toggle_off);
submenus.Pop();
Expand Down

0 comments on commit a31972a

Please sign in to comment.