mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
hotfix for provinces editor
This commit is contained in:
parent
52333ae256
commit
5dea22c4a3
3 changed files with 5 additions and 4 deletions
|
|
@ -118,7 +118,8 @@ function editProvinces() {
|
|||
totalPopulation = 0;
|
||||
|
||||
for (const p of filtered) {
|
||||
totalArea += getArea(p.area);
|
||||
const area = getArea(p.area);
|
||||
totalArea += area;
|
||||
const rural = p.rural * populationRate;
|
||||
const urban = p.urban * populationRate * urbanization;
|
||||
const population = rn(rural + urban);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue