mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Regenerating cultures refreshes the culture editor
This commit is contained in:
parent
447b4ee353
commit
db0ee1228f
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ function regenerateCultures() {
|
||||||
Cultures.generate();
|
Cultures.generate();
|
||||||
Cultures.expand();
|
Cultures.expand();
|
||||||
if (!layerIsOn("toggleCultures")) toggleCultures(); else drawCultures();
|
if (!layerIsOn("toggleCultures")) toggleCultures(); else drawCultures();
|
||||||
|
if (document.getElementById("culturesEditorRefresh").offsetParent) culturesEditorRefresh.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
function regenerateMilitary() {
|
function regenerateMilitary() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue