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:
Ruichka 2024-04-21 13:16:55 +03:00 committed by GitHub
parent 73e9d222ae
commit 36fba3329c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1427,7 +1427,7 @@ function openStateMergeDialog() {
if (element) {
element.id = newId;
element.dataset.state = rulingStateId;
element.dataset.i = newIndex;
element.dataset.id = newIndex;
rulingStateArmy.appendChild(element);
}
});

View file

@ -1224,7 +1224,7 @@ function refreshAllEditors() {
// dynamically loaded editors
async function editStates() {
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();
}

View file

@ -1,7 +1,7 @@
"use strict";
// 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;