diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index 3735c904d8d588aa6985d33b03165ffe1c6a869f..1460d5e94e68f977c267ebd0d98aff3121d7f9c8 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -753,11 +753,13 @@ globalThis.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { slave.boobsImplantType = "normal"; } slave.breastMesh = Math.clamp(+slave.breastMesh, 0, 1) || 0; - slave.buttImplant = Math.clamp(+slave.buttImplant, 0, 3) || 0; - if (slave.buttImplant === 0) { - slave.buttImplantType = "none"; - } else if (slave.buttImplant > 0) { - slave.buttImplantType = "normal"; + slave.buttImplant = Math.clamp(+slave.buttImplant, 0, 20) || 0; + if (typeof slave.buttImplantType !== "string") { + if (slave.buttImplant === 0) { + slave.buttImplantType = "none"; + } else if (slave.buttImplant > 0) { + slave.buttImplantType = "normal"; + } } slave.heightImplant = Math.clamp(+slave.heightImplant, -10, 10) || 0; slave.earImplant = Math.clamp(+slave.earImplant, 0, 1) || 0;