diff --git a/Intersect.Client/Core/Input.cs b/Intersect.Client/Core/Input.cs index 2367f4f8db..45683d5d15 100644 --- a/Intersect.Client/Core/Input.cs +++ b/Intersect.Client/Core/Input.cs @@ -137,7 +137,7 @@ public static void OnKeyPressed(Keys modifier, Keys key) if (simplifiedEscapeMenuSetting) { - Interface.Interface.GameUi?.SimplifiedEscapeMenu?.ToggleHidden(); + Interface.Interface.GameUi?.GameMenu?.ToggleSimplifiedEscapeMenu(); } else { diff --git a/Intersect.Client/Interface/Game/Menu.cs b/Intersect.Client/Interface/Game/Menu.cs index 7b41abcc35..55cfac1f28 100644 --- a/Intersect.Client/Interface/Game/Menu.cs +++ b/Intersect.Client/Interface/Game/Menu.cs @@ -282,6 +282,11 @@ public void ToggleQuestsWindow() } } + public void ToggleSimplifiedEscapeMenu() + { + Interface.GameUi?.SimplifiedEscapeMenu?.ToggleHidden(mMenuButton); + } + public void ToggleSpellsWindow() { if (mSpellsWindow.IsVisible()) @@ -361,7 +366,7 @@ private void MenuButtonClicked(Base sender, ClickedEventArgs arguments) if (simplifiedEscapeMenuSetting) { - Interface.GameUi?.SimplifiedEscapeMenu?.ToggleHidden(mMenuButton); + ToggleSimplifiedEscapeMenu(); } else {