General Tso
Panzer General
The following code exist in the current version of AdvancedSetup.lua starting at line 685.
As you can see. The two lines with the bold text contain functions that are called directly above them. Is this some kind of necessary kludge to make PreGame work or is it a mistake in the Lua code?
Code:
PreGame.SetEra(wb.StartEra);
PreGame.SetGameSpeed(wb.DefaultSpeed);
PreGame.SetMaxTurns(wb.MaxTurns);
PreGame.SetNumMinorCivs(wb.CityStateCount);
PreGame.SetRandomWorldSize(false);
PreGame.SetWorldSize(wb.MapSize);
PreGame.[B]SetRandomWorldSize[/B](false);
PreGame.[B]SetNumMinorCivs[/B](-1);
As you can see. The two lines with the bold text contain functions that are called directly above them. Is this some kind of necessary kludge to make PreGame work or is it a mistake in the Lua code?