v1.5.63- fix for state promotion

This commit is contained in:
Azgaar 2021-02-25 20:40:10 +03:00
parent e05a7036dc
commit b62e57f5a7

View file

@ -248,7 +248,7 @@ function editProvinces() {
// update diplomacy and reverse relations
const diplomacy = states.map(s => {
if (!s.i) return "x";
if (!s.i || s.removed) return "x";
let relations = states[oldState].diplomacy[s.i]; // relations between Nth state and old overlord
if (s.i === oldState) relations = "Enemy"; // new state is Enemy to its old overlord
else if (relations === "Ally") relations = "Suspicion";