mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.52 - adding state fix
This commit is contained in:
parent
65e84dd22a
commit
d3fe1899b3
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ function editStates() {
|
||||||
|
|
||||||
// update diplomacy and reverse relations
|
// update diplomacy and reverse relations
|
||||||
const diplomacy = states.map(s => {
|
const diplomacy = states.map(s => {
|
||||||
if (!s.i) return "x";
|
if (!s.i || s.removed) return "x";
|
||||||
if (!oldState) {
|
if (!oldState) {
|
||||||
s.diplomacy.push("Neutral");
|
s.diplomacy.push("Neutral");
|
||||||
return "Neutral";
|
return "Neutral";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue