mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Refresh the province editor when regenerating
This commit is contained in:
parent
eb1c0be0a8
commit
4308e418ff
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ function regenerateProvinces() {
|
||||||
document.querySelectorAll("[id^=provinceCOA]").forEach(el => el.remove());
|
document.querySelectorAll("[id^=provinceCOA]").forEach(el => el.remove());
|
||||||
emblems.selectAll("use").remove();
|
emblems.selectAll("use").remove();
|
||||||
if (layerIsOn("toggleEmblems")) drawEmblems();
|
if (layerIsOn("toggleEmblems")) drawEmblems();
|
||||||
|
refreshAllEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
function regenerateBurgs() {
|
function regenerateBurgs() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue