mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
refactor: load religions editor dynamically
This commit is contained in:
parent
fbb2d71f58
commit
7d08aa132f
1 changed files with 8 additions and 2 deletions
|
|
@ -1200,6 +1200,12 @@ async function editStates() {
|
||||||
|
|
||||||
async function editCultures() {
|
async function editCultures() {
|
||||||
if (customization) return;
|
if (customization) return;
|
||||||
const CulturesEditor = await import("../dynamic/editors/cultures-editor.js?v=29052022");
|
const Editor = await import("../dynamic/editors/cultures-editor.js?v=05062022");
|
||||||
CulturesEditor.open();
|
Editor.open();
|
||||||
|
}
|
||||||
|
|
||||||
|
async function editReligions() {
|
||||||
|
if (customization) return;
|
||||||
|
const Editor = await import("../dynamic/editors/religions-editor.js?v=05062022");
|
||||||
|
Editor.open();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue