diff --git a/modules/ui/cultures-editor.js b/modules/ui/cultures-editor.js
index 91609627..4cfc07ac 100644
--- a/modules/ui/cultures-editor.js
+++ b/modules/ui/cultures-editor.js
@@ -302,6 +302,7 @@ function editCultures() {
debug.select("#cultureCenter"+culture).remove();
pack.burgs.filter(b => b.culture == culture).forEach(b => b.culture = 0);
+ pack.states.forEach((s, i) => {if(s.culture === culture) pack.states[i].culture = 0;});
pack.cells.culture.forEach((c, i) => {if(c === culture) pack.cells.culture[i] = 0;});
pack.cultures[culture].removed = true;
@@ -647,4 +648,4 @@ function editCultures() {
exitAddCultureMode()
}
-}
\ No newline at end of file
+}
diff --git a/modules/ui/states-editor.js b/modules/ui/states-editor.js
index 1e1bfd87..7e05a4f6 100644
--- a/modules/ui/states-editor.js
+++ b/modules/ui/states-editor.js
@@ -158,7 +158,7 @@ function editStates() {
function getCultureOptions(culture) {
let options = "";
- pack.cultures.slice(1).forEach(c => options += ``);
+ pack.cultures.forEach(c => {if (!c.removed) { options += `` }});
return options;
}