mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Fix regiments getting bugged when merging states (#1067)
* Fix military bug when merging states * Update versioning to 1.97.06
This commit is contained in:
parent
73e9d222ae
commit
36fba3329c
3 changed files with 3 additions and 3 deletions
|
|
@ -1427,7 +1427,7 @@ function openStateMergeDialog() {
|
||||||
if (element) {
|
if (element) {
|
||||||
element.id = newId;
|
element.id = newId;
|
||||||
element.dataset.state = rulingStateId;
|
element.dataset.state = rulingStateId;
|
||||||
element.dataset.i = newIndex;
|
element.dataset.id = newIndex;
|
||||||
rulingStateArmy.appendChild(element);
|
rulingStateArmy.appendChild(element);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1224,7 +1224,7 @@ function refreshAllEditors() {
|
||||||
// dynamically loaded editors
|
// dynamically loaded editors
|
||||||
async function editStates() {
|
async function editStates() {
|
||||||
if (customization) return;
|
if (customization) return;
|
||||||
const Editor = await import("../dynamic/editors/states-editor.js?v=1.96.06");
|
const Editor = await import("../dynamic/editors/states-editor.js?v=1.97.06");
|
||||||
Editor.open();
|
Editor.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// version and caching control
|
// version and caching control
|
||||||
const version = "1.97.05"; // generator version, update each time
|
const version = "1.97.06"; // generator version, update each time
|
||||||
|
|
||||||
{
|
{
|
||||||
document.title += " v" + version;
|
document.title += " v" + version;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue