From 96e9e4858f0132069519d96e14e244cc18fcb8e2 Mon Sep 17 00:00:00 2001
From: buster scruggs <prettyleetemail@protonmail.com>
Date: Wed, 22 Feb 2023 14:54:26 -0500
Subject: [PATCH] Update backwards compatibility checks

---
 .../backwardsCompatibility.js                    | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js
index 3e0949a58dc..1ef521d24d9 100644
--- a/src/data/backwardsCompatibility/backwardsCompatibility.js
+++ b/src/data/backwardsCompatibility/backwardsCompatibility.js
@@ -831,24 +831,16 @@ App.Update.globalVariables = function(node) {
 			if ((typeof V.FSChineseRevivalistLaw !== "undefined") && V.FSChineseRevivalistLaw !== 0) {
 				V.arcologies[0].FSChineseRevivalistLaw = V.FSChineseRevivalistLaw;
 			}
-			if ((typeof V.FSAntebellumRevivalist !== "undefined") && V.FSAntebellumRevivalist !== "unset") {
-				V.arcologies[0].FSAntebellumRevivalist = V.FSAntebellumRevivalist;
-			} else if (typeof V.arcologies[0].FSAntebellumRevivalist === "undefined") {
+			if (typeof V.arcologies[0].FSAntebellumRevivalist === "undefined") {
 				V.arcologies[0].FSAntebellumRevivalist = "unset";
 			}
-			if ((typeof V.FSAntebellumRevivalistSMR !== "undefined") && V.FSAntebellumRevivalistSMR !== 0) {
-				V.arcologies[0].FSAntebellumRevivalistSMR = V.FSAntebellumRevivalistSMR;
-			} else if (typeof V.arcologies[0].FSAntebellumRevivalistSMR === "undefined") {
+			if (typeof V.arcologies[0].FSAntebellumRevivalistSMR === "undefined") {
 				V.arcologies[0].FSAntebellumRevivalistSMR = 0;
 			}
-			if ((typeof V.FSAntebellumRevivalistLaw1 !== "undefined") && V.FSAntebellumRevivalistLaw1 !== 0) {
-				V.arcologies[0].FSAntebellumRevivalistLaw1 = V.FSAntebellumRevivalistLaw1;
-			} else if (typeof V.arcologies[0].FSAntebellumRevivalistLaw1 === "undefined") {
+			if (typeof V.arcologies[0].FSAntebellumRevivalistLaw1 === "undefined") {
 				V.arcologies[0].FSAntebellumRevivalistLaw1 = 0;
 			}
-			if ((typeof V.FSAntebellumRevivalistLaw2 !== "undefined") && V.FSAntebellumRevivalistLaw2 !== 0) {
-				V.arcologies[0].FSAntebellumRevivalistLaw2 = V.FSAntebellumRevivalistLaw2;
-			} else if (typeof V.arcologies[0].FSAntebellumRevivalistLaw2 === "undefined") {
+			if (typeof V.arcologies[0].FSAntebellumRevivalistLaw2 === "undefined") {
 				V.arcologies[0].FSAntebellumRevivalistLaw2 = 0;
 			}
 			delete V.arcologies[0].FSNullLaw;
-- 
GitLab