mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
preparatory bugfixes
This commit is contained in:
parent
7d500b1598
commit
cc998e7773
2 changed files with 3 additions and 3 deletions
|
|
@ -3,10 +3,10 @@ addListeners();
|
||||||
|
|
||||||
export function open() {
|
export function open() {
|
||||||
closeDialogs("#religionsEditor, .stable");
|
closeDialogs("#religionsEditor, .stable");
|
||||||
if (!layerIsOn("toggleReligions")) toggleCultures();
|
if (!layerIsOn("toggleReligions")) toggleReligions();
|
||||||
if (layerIsOn("toggleStates")) toggleStates();
|
if (layerIsOn("toggleStates")) toggleStates();
|
||||||
if (layerIsOn("toggleBiomes")) toggleBiomes();
|
if (layerIsOn("toggleBiomes")) toggleBiomes();
|
||||||
if (layerIsOn("toggleCultures")) toggleReligions();
|
if (layerIsOn("toggleCultures")) toggleCultures();
|
||||||
if (layerIsOn("toggleProvinces")) toggleProvinces();
|
if (layerIsOn("toggleProvinces")) toggleProvinces();
|
||||||
|
|
||||||
refreshReligionsEditor();
|
refreshReligionsEditor();
|
||||||
|
|
|
||||||
|
|
@ -700,7 +700,7 @@ window.Religions = (function () {
|
||||||
form: formName,
|
form: formName,
|
||||||
deity,
|
deity,
|
||||||
expansion,
|
expansion,
|
||||||
expansionism: 0,
|
expansionism: 0.01,
|
||||||
center,
|
center,
|
||||||
cells: 0,
|
cells: 0,
|
||||||
area: 0,
|
area: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue