From d3fe1899b3c0d1ed293d2a4faf1293c9c4e7d4e6 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Wed, 24 Feb 2021 02:07:32 +0300 Subject: [PATCH] v1.5.52 - adding state fix --- modules/ui/states-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/states-editor.js b/modules/ui/states-editor.js index bcaea20e..4e571764 100644 --- a/modules/ui/states-editor.js +++ b/modules/ui/states-editor.js @@ -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";