mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
fix: redraw population on change
This commit is contained in:
parent
cf5e75b561
commit
8907cd62ec
6 changed files with 8 additions and 0 deletions
|
|
@ -543,6 +543,7 @@ function changePopulation(stateId) {
|
|||
burgs.forEach(b => (b.population = population));
|
||||
}
|
||||
|
||||
if (layerIsOn("togglePopulation")) drawPopulation();
|
||||
refreshStatesEditor();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue