mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.4.31
This commit is contained in:
parent
30ad82bf1c
commit
46b94c01ef
1 changed files with 0 additions and 9 deletions
|
|
@ -454,15 +454,6 @@ function editStates() {
|
||||||
});
|
});
|
||||||
armies.select("g#army"+state).remove();
|
armies.select("g#army"+state).remove();
|
||||||
|
|
||||||
const military = pack.states[elSelected.dataset.state].military;
|
|
||||||
const regIndex = military.indexOf(regiment());
|
|
||||||
if (regIndex === -1) return;
|
|
||||||
military.splice(regIndex, 1);
|
|
||||||
|
|
||||||
const index = notes.findIndex(n => n.id === elSelected.id);
|
|
||||||
if (index != -1) notes.splice(index, 1);
|
|
||||||
elSelected.remove();
|
|
||||||
|
|
||||||
const capital = pack.states[state].capital;
|
const capital = pack.states[state].capital;
|
||||||
pack.burgs[capital].capital = 0;
|
pack.burgs[capital].capital = 0;
|
||||||
pack.burgs[capital].state = 0;
|
pack.burgs[capital].state = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue