Make IngameMenuLogic use ShowMenu

This commit is contained in:
Gustas
2022-07-19 21:03:25 +03:00
committed by Pavel Penev
parent 9a5d352e41
commit 02b6a260af

View File

@@ -469,8 +469,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Ui.OpenWindow("SAVE_MAP_PANEL", new WidgetArgs()
{
{ "onSave", (Action<string>)(_ => { hideMenu = false; actionManager.Modified = false; }) },
{ "onExit", () => hideMenu = false },
{ "onSave", (Action<string>)(_ => { ShowMenu(); actionManager.Modified = false; }) },
{ "onExit", ShowMenu },
{ "map", world.Map },
{ "playerDefinitions", playerDefinitions },
{ "actorDefinitions", editorActorLayer.Save() }