diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index a585ded98cd4536915b9cc2b50bdd660c51badbb..466ef399d1c8a2987d5043346f854d5c511cb8d8 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -90,6 +90,10 @@ App.Update.globalVariables = function() { } } + // Jobs + { + V.JobIDArray = resetJobIDArray(); + } // Reminders { if (!Array.isArray(V.reminders)) { @@ -1033,8 +1037,8 @@ App.Update.globalVariables = function() { V.foodConsumption = ((V.lowerClass * V.foodRate.lower) + (V.middleClass * V.foodRate.middle) + (V.upperClass * V.foodRate.upper) + (V.topClass * V.foodRate.top)); /* total amount food consumed per week */ } } - - //Stud stuff + + // Stud stuff { V.Stud = V.Stud || 0; V.StudCum = Math.max(+V.StudCum, 0) || 0; diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index aa41a10086c21a95a9d9d5fe137b00c18c90327d..7857148221dc9d6e33ec072cd57412b119ad474a 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -112,6 +112,7 @@ You should have received a copy of the GNU General Public License along with thi <<run setup.prostheticIDs.forEach(function(id) { $prosthetics[id] = {amount: 0, research: 0}; })>> +<<set $JobIDArray = resetJobIDArray()>> /*SFVAR*/ <<set $SF = Object.assign({}, $SF, {Toggle:0, Active: -1}), $SF.Facility = Object.assign({}, $SF.Facility, {Toggle:0, Active:0})>>