diff --git a/modules/ui/burg-editor.js b/modules/ui/burg-editor.js index e77643ea..3e97b402 100644 --- a/modules/ui/burg-editor.js +++ b/modules/ui/burg-editor.js @@ -410,7 +410,7 @@ function editBurg(id) { const {cells} = pack; const {name, population, cell} = burg; const burgSeed = getBurgSeed(burg); - const size = Math.max(Math.min(Math.ceil(2.13*Math.pow(burg.population * populationRate)), 100), 6); + const size = Math.max(Math.min(Math.ceil(2.13*Math.pow(population * populationRate/urbanDensity,0.385)), 100), 6); const people = rn(population * populationRate * urbanization); const hub = +cells.road[cell] > 50;