diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index cb05e7ea51f79d0aaae084bdd45f0a7497ef5ac4..64fe6a9f0988ffdb14d45d7846eb395364a09888 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -1010,9 +1010,7 @@ App.Update.generalBC = function() { V.upgradeMultiplierArcology = upgradeMultiplier('engineering'); V.upgradeMultiplierMedicine = upgradeMultiplier('medicine'); V.upgradeMultiplierTrade = upgradeMultiplier('trading'); - if (V.PC.customTitle === "") { - V.PC.customTitle = undefined, V.PC.customTitleLisp = undefined; - } + BCReserveInit(); @@ -2769,32 +2767,7 @@ App.Update.globalVariables = function() { } } V.seeDicks = Math.clamp(V.seeDicks, 0, 100); - if (typeof V.PC.ID === "undefined") { - V.PC.ID = -1; - } - if (typeof V.PC.counter.oral === "undefined") { - V.PC.counter.oral = 0; - } - if (typeof V.PC.counter.vaginal === "undefined") { - V.PC.counter.vaginal = 0; - } - if (typeof V.PC.counter.anal === "undefined") { - V.PC.counter.anal = 0; - } - if (typeof V.PC.counter.mammary === "undefined") { - V.PC.counter.mammary = 0; - } - if (typeof V.PC.counter.penetrative === "undefined") { - V.PC.counter.penetrative = 0; - } - if (!(V.ver.startsWith("0.10"))) { - if (V.PC.refreshment === "cigar") { - V.PC.refreshmentType = 0; - } else { - V.PC.refreshmentType = 1; - } - } - WombInit(V.PC); + if (typeof V.pornStars === "undefined") { V.studioFeed = 0; diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index 5d33a2c1155af80e5064535f633802f181dbec8c..a28f162b3d920897f8531792981cb5808112f2a7 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -1660,6 +1660,13 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() { if (typeof PC.refreshment !== "string") { PC.refreshment = "cigar"; } + if (!(V.ver.startsWith("0.10"))) { + if (V.PC.refreshment === "cigar") { + V.PC.refreshmentType = 0; + } else { + V.PC.refreshmentType = 1; + } + } PC.refreshmentType = Math.clamp(+PC.refreshmentType, 0, 6) || 0; PC.skill.trading = Math.clamp(+PC.skill.trading, -100, 100) || 0; PC.skill.warfare = Math.clamp(+PC.skill.warfare, -100, 100) || 0; @@ -1755,6 +1762,28 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() { } else { PC.buttImplantType = "none"; } + if (V.PC.customTitle === "") { + V.PC.customTitle = undefined, V.PC.customTitleLisp = undefined; + } + if (typeof V.PC.counter.oral === "undefined") { + V.PC.counter.oral = 0; + } + if (typeof V.PC.counter.vaginal === "undefined") { + V.PC.counter.vaginal = 0; + } + if (typeof V.PC.counter.anal === "undefined") { + V.PC.counter.anal = 0; + } + if (typeof V.PC.counter.mammary === "undefined") { + V.PC.counter.mammary = 0; + } + if (typeof V.PC.counter.penetrative === "undefined") { + V.PC.counter.penetrative = 0; + } + WombInit(V.PC); + if (typeof V.PC.ID === "undefined") { + V.PC.ID = -1; + } /* None of these are in use */ PC.bellyPreg = PC.belly;