diff --git a/src/js/backwardsCompatibility.js b/src/js/backwardsCompatibility.js index f9f67a0394e65bf159f92cf1938db8ba301b4a49..50bb891d604bdb0db67b975acde43af512719786 100644 --- a/src/js/backwardsCompatibility.js +++ b/src/js/backwardsCompatibility.js @@ -3772,14 +3772,16 @@ window.backwardsCompatibility = (function() { function oldVersions() { r = ""; - if (V.releaseID < 1055) { - if (V.disableLisping === 0) { - V.disableLisping = 1; - } else { - V.disableLisping = 0; - } + if (V.releaseID < 1043) { + V.defaultRules.forEach((_rule) => { + if (_rule.condition.excludeSpecialSlaves) { + _rule.condition.specialSlaves = 0; + } else { + _rule.condition.specialSlaves = -1; + } + delete _rule.condition.excludeSpecialSlaves; + }); } - if (V.releaseID === 1043) { V.slaves.forEach(s => { s.skill.whoring = s.skill.whore / 2; }); V.tanks.forEach(s => { s.skill.whoring = s.skill.whore / 2; }); @@ -3791,28 +3793,9 @@ window.backwardsCompatibility = (function() { } }); } - - if (V.releaseID < 1043) { - V.defaultRules.forEach((_rule) => { - if (_rule.condition.excludeSpecialSlaves) { - _rule.condition.specialSlaves = 0; - } else { - _rule.condition.specialSlaves = -1; - } - delete _rule.condition.excludeSpecialSlaves; - }); - } - - if (V.releaseID < 1047) { - if (V.loliGrow > 0) { - V.loliGrow = 1; - } else { - V.loliGrow = 0; - } - } + /* unify cybermod & vanilla */ + /* limbs */ if (V.releaseID < 1045) { - /* unify cybermod & vanilla */ - /* limbs */ if (typeof V.limbs !== "undefined") { V.adjustProsthetics = []; V.limbs.forEach((_l) => { @@ -4025,6 +4008,20 @@ window.backwardsCompatibility = (function() { delete V.SlaveSummaryFiler; } + if (V.releaseID < 1047) { + if (V.loliGrow > 0) { + V.loliGrow = 1; + } else { + V.loliGrow = 0; + } + } + if (V.releaseID < 1055) { + if (V.disableLisping === 0) { + V.disableLisping = 1; + } else { + V.disableLisping = 0; + } + } return r; }