Make the editor use an EchoConnection instead of a local server
This commit is contained in:
committed by
Matthias Mailänder
parent
e0e219793f
commit
0b75991fbc
@@ -343,10 +343,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
void LoadMapIntoEditor(string uid)
|
||||
{
|
||||
ConnectionLogic.Connect(Game.CreateLocalServer(uid),
|
||||
"",
|
||||
() => { Game.LoadEditor(uid); },
|
||||
() => { Game.CloseServer(); SwitchMenu(MenuType.MapEditor); });
|
||||
Game.LoadEditor(uid);
|
||||
|
||||
DiscordService.UpdateStatus(DiscordState.InMapEditor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user