fix: religion editor toggles culture layer on

This commit is contained in:
Azgaar 2022-06-08 11:53:30 +03:00
parent 9f32bb258c
commit 9215a01548
4 changed files with 5 additions and 5 deletions

View file

@ -3,10 +3,10 @@ addListeners();
export function open() {
closeDialogs("#religionsEditor, .stable");
if (!layerIsOn("toggleCultures")) toggleCultures();
if (!layerIsOn("toggleReligions")) toggleCultures();
if (layerIsOn("toggleStates")) toggleStates();
if (layerIsOn("toggleBiomes")) toggleBiomes();
if (layerIsOn("toggleReligions")) toggleReligions();
if (layerIsOn("toggleCultures")) toggleReligions();
if (layerIsOn("toggleProvinces")) toggleProvinces();
refreshReligionsEditor();

View file

@ -1188,6 +1188,6 @@ async function editCultures() {
async function editReligions() {
if (customization) return;
const Editor = await import("../dynamic/editors/religions-editor.js?v=06062022");
const Editor = await import("../dynamic/editors/religions-editor.js?v=08062022");
Editor.open();
}