Introduce ServerType.Skirmish.

This commit is contained in:
Paul Chote
2023-11-12 18:05:28 +00:00
committed by Gustas
parent 3b67e425ed
commit 3f4f9e7354
5 changed files with 26 additions and 18 deletions

View File

@@ -459,7 +459,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Game.Settings.Server.Map = map;
Game.Settings.Save();
ConnectionLogic.Connect(Game.CreateLocalServer(map),
ConnectionLogic.Connect(Game.CreateLocalServer(map, isSkirmish: true),
"",
OpenSkirmishLobbyPanel,
() => { Game.CloseServer(); SwitchMenu(MenuType.Main); });