v1.5.52 - adding state fix

This commit is contained in:
Azgaar 2021-02-24 02:07:32 +03:00
parent 65e84dd22a
commit d3fe1899b3

View file

@ -850,7 +850,7 @@ function editStates() {
// update diplomacy and reverse relations
const diplomacy = states.map(s => {
if (!s.i) return "x";
if (!s.i || s.removed) return "x";
if (!oldState) {
s.diplomacy.push("Neutral");
return "Neutral";