Save the map choice from the Skirmish button.
This commit is contained in:
@@ -139,6 +139,8 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
|||||||
void StartSkirmishGame()
|
void StartSkirmishGame()
|
||||||
{
|
{
|
||||||
var map = WidgetUtils.ChooseInitialMap(Game.Settings.Server.Map);
|
var map = WidgetUtils.ChooseInitialMap(Game.Settings.Server.Map);
|
||||||
|
Game.Settings.Server.Map = map;
|
||||||
|
Game.Settings.Save();
|
||||||
|
|
||||||
ConnectionLogic.Connect(IPAddress.Loopback.ToString(),
|
ConnectionLogic.Connect(IPAddress.Loopback.ToString(),
|
||||||
Game.CreateLocalServer(map),
|
Game.CreateLocalServer(map),
|
||||||
|
|||||||
Reference in New Issue
Block a user