diff --git a/OpenRA.Mods.Common/Widgets/Logic/Editor/NewMapLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Editor/NewMapLogic.cs index 77da02b4aa..fbcc81dc26 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Editor/NewMapLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Editor/NewMapLogic.cs @@ -72,12 +72,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic { // HACK: Work around a synced-code change check. // It's not clear why this is needed here, but not in the other places that load maps. - Game.RunAfterTick(() => - { - ConnectionLogic.Connect(Game.CreateLocalServer(uid), "", - () => Game.LoadEditor(uid), - () => { Game.CloseServer(); onExit(); }); - }); + Game.RunAfterTick(() => Game.LoadEditor(uid)); Ui.CloseWindow(); onSelect(uid);