From fc0160b6e37294aab064580509c2116a7807ceba Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 4 Aug 2020 21:32:40 -0400 Subject: [PATCH] dead variables from policy conversion --- js/003-data/gameVariableData.js | 2 -- src/data/backwardsCompatibility/backwardsCompatibility.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js index b92d4b2a399..8e3dccbe21a 100644 --- a/js/003-data/gameVariableData.js +++ b/js/003-data/gameVariableData.js @@ -311,8 +311,6 @@ App.Data.resetOnNGPlus = { alwaysSubsidizeRep: 0, alwaysSubsidizeGrowth: 0, - immigrationCash: 0, - immigrationRep: 0, enslavementCash: 0, enslavementRep: 0, cashForRep: 0, diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index c1d076e047f..ccd276432bc 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -1186,8 +1186,6 @@ App.Update.globalVariables = function(node) { // Misspelled variable names { - V.immigrationCash = V.immigrationCash || V.immmigrationCash || 0; - V.immigrationRep = V.immigrationRep || V.immmigrationRep || 0; V.sexualOpenness = V.sexualOpenness || V.sexualOpeness || 0; V.bestialityOpenness = V.bestialityOpenness || V.bestialityOpeness || 0; V.recruiterOffice = V.recruiterOffice || V.recuriterOffice || 0; -- GitLab