Add: Check that towns can build roads before generating map. (#12503)
This commit is contained in:
@@ -103,6 +103,10 @@ static void _GenerateWorld()
|
||||
IncreaseGeneratingWorldProgress(GWP_MAP_INIT);
|
||||
/* Must start economy early because of the costs. */
|
||||
StartupEconomy();
|
||||
if (!CheckTownRoadTypes()) {
|
||||
HandleGeneratingWorldAbortion();
|
||||
return;
|
||||
}
|
||||
|
||||
bool landscape_generated = false;
|
||||
|
||||
|
Reference in New Issue
Block a user