mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Reset burg and state cultures after regeneration
This commit is contained in:
parent
d83e327036
commit
d24f92efab
2 changed files with 28 additions and 2 deletions
|
|
@ -248,8 +248,9 @@ function regenerateReligions() {
|
|||
function regenerateCultures() {
|
||||
Cultures.generate();
|
||||
Cultures.expand();
|
||||
BurgsAndStates.resetCultures();
|
||||
if (!layerIsOn("toggleCultures")) toggleCultures(); else drawCultures();
|
||||
if (document.getElementById("culturesEditorRefresh").offsetParent) culturesEditorRefresh.click();
|
||||
refreshAllEditors();
|
||||
}
|
||||
|
||||
function regenerateMilitary() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue