Save the map choice from the Skirmish button.

This commit is contained in:
Paul Chote
2013-12-10 09:12:42 +13:00
parent 18ccb50054
commit 7b01b74ffc

View File

@@ -139,6 +139,8 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
void StartSkirmishGame()
{
var map = WidgetUtils.ChooseInitialMap(Game.Settings.Server.Map);
Game.Settings.Server.Map = map;
Game.Settings.Save();
ConnectionLogic.Connect(IPAddress.Loopback.ToString(),
Game.CreateLocalServer(map),