diff --git a/modules/routes-generator.js b/modules/routes-generator.js index 14dbd8f8..a47d044f 100644 --- a/modules/routes-generator.js +++ b/modules/routes-generator.js @@ -74,9 +74,8 @@ window.Routes = (function () { }; for (const burg of burgs) { - if (burg.i && !burg.removed) { + if (burg.i && !burg.removed && !burg.flying && !burg.skyPort) { // Exclude flying / sky port burgs from land road/trail graphs - if (burg.flying || burg.skyPort) continue; const {feature, capital, port} = burg; addBurg(burgsByFeature, feature, burg); diff --git a/modules/ui/editors.js b/modules/ui/editors.js index 69c52a3d..b0188edc 100644 --- a/modules/ui/editors.js +++ b/modules/ui/editors.js @@ -366,7 +366,7 @@ function getBurgLink(burg) { const population = burg.population * populationRate * urbanization; if (population >= options.villageMaxPopulation || burg.citadel || burg.walls || burg.temple || burg.shanty) - return createMfcgLink(burg, false); + return createMfcgLink(burg); return createVillageGeneratorLink(burg); }