From 02b6a260afd5e4f288314c86eba775838d35ee69 Mon Sep 17 00:00:00 2001 From: Gustas <37534529+Punsho@users.noreply.github.com> Date: Tue, 19 Jul 2022 21:03:25 +0300 Subject: [PATCH] Make IngameMenuLogic use ShowMenu --- OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs index f0825987df..280a718556 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameMenuLogic.cs @@ -469,8 +469,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic Ui.OpenWindow("SAVE_MAP_PANEL", new WidgetArgs() { - { "onSave", (Action)(_ => { hideMenu = false; actionManager.Modified = false; }) }, - { "onExit", () => hideMenu = false }, + { "onSave", (Action)(_ => { ShowMenu(); actionManager.Modified = false; }) }, + { "onExit", ShowMenu }, { "map", world.Map }, { "playerDefinitions", playerDefinitions }, { "actorDefinitions", editorActorLayer.Save() }