diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js index 7ce3079b17d659833c3ab8f587f850539e65c44e..3038ee6dd175eff8d8bddc121b5220aed60b22db 100644 --- a/js/003-data/gameVariableData.js +++ b/js/003-data/gameVariableData.js @@ -9,6 +9,7 @@ App.Data.defaultGameStateVariables = { releaseID: 0, slaveIndices: 0, genePool: [], + geneMods: {NCS: 0, rapidCellGrowth: 0}, missingTable: {}, slaves: [], showMissingSlaves: false, @@ -579,6 +580,7 @@ App.Data.defaultGameStateVariables = { DJignoresFlaws: 0, slaveFightingBG: 0, SecExp: {}, + secExpEnabled: 0, childSex: 0, HGSlaveSuccess: 0, unMadam: 0, diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index b8ea98a6ba941ded7b72aa1f1ca9dfa48a025157..6555514ed54ec19611d462fe51e65ee381f14f19 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -1908,15 +1908,11 @@ App.Update.HeroSlavesCleanup = function() { setup.whiteAmericanSlaveNames).random(); } generatePronouns(s); - if (s.geneMods === undefined) { - s.geneMods = {NCS: 0, rapidCellGrowth: 0}; - } else { - if (s.geneMods.NCS === undefined) { - s.geneMods.NCS = 0; - } - if (s.geneMods.rapidCellGrowth === undefined) { - s.geneMods.rapidCellGrowth = 0; - } + if (s.geneMods.NCS === undefined) { + s.geneMods.NCS = 0; + } + if (s.geneMods.rapidCellGrowth === undefined) { + s.geneMods.rapidCellGrowth = 0; } // WombInit(s); });