mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into burg-groups
This commit is contained in:
commit
af1833f45a
4 changed files with 16 additions and 30 deletions
|
|
@ -1060,7 +1060,7 @@ function refreshAllEditors() {
|
|||
// dynamically loaded editors
|
||||
async function editStates() {
|
||||
if (customization) return;
|
||||
const Editor = await import("../dynamic/editors/states-editor.js?v=1.104.0");
|
||||
const Editor = await import("../dynamic/editors/states-editor.js?v=1.106.1");
|
||||
Editor.open();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -371,6 +371,7 @@ function editProvinces() {
|
|||
layerIsOn("toggleStates") ? drawStates() : toggleStates();
|
||||
layerIsOn("toggleBorders") ? drawBorders() : toggleBorders();
|
||||
|
||||
States.getPoles();
|
||||
States.findNeighbors();
|
||||
States.collectStatistics();
|
||||
States.defineStateForms(newStates);
|
||||
|
|
@ -383,6 +384,10 @@ function editProvinces() {
|
|||
COArenderer.add("state", stateId, coa, ...pole);
|
||||
});
|
||||
|
||||
layerIsOn("toggleProvinces") && toggleProvinces();
|
||||
layerIsOn("toggleStates") ? drawStates() : toggleStates();
|
||||
layerIsOn("toggleBorders") ? drawBorders() : toggleBorders();
|
||||
|
||||
unfog();
|
||||
closeDialogs();
|
||||
editStates();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue