preserve random civ in saved game settings, refs #2963
This was SVN commit r16095.
This commit is contained in:
parent
802320e753
commit
e8d1acfa41
@ -993,6 +993,8 @@ function launchGame()
|
||||
if (!g_GameAttributes.map)
|
||||
return;
|
||||
|
||||
saveGameAttributes();
|
||||
|
||||
if (g_GameAttributes.map == "random")
|
||||
selectMap(Engine.GetGUIObjectByName("mapSelection").list_data[Math.floor(Math.random() *
|
||||
(Engine.GetGUIObjectByName("mapSelection").list.length - 1)) + 1]);
|
||||
@ -1050,8 +1052,6 @@ function launchGame()
|
||||
}
|
||||
}
|
||||
|
||||
saveGameAttributes();
|
||||
|
||||
if (g_IsNetworked)
|
||||
{
|
||||
Engine.SetNetworkGameAttributes(g_GameAttributes);
|
||||
|
Loading…
Reference in New Issue
Block a user