diff --git a/slave variables documentation - Pregmod.txt b/slave variables documentation - Pregmod.txt index 25a066eb7b5ac05285e6c5708c2430f9ca684817..a020f3f2c0d8b942f233f1ff4f59f3331f44b5e3 100644 --- a/slave variables documentation - Pregmod.txt +++ b/slave variables documentation - Pregmod.txt @@ -2045,9 +2045,8 @@ nail type brand: -has brand -0 - no -1 - yes +brand description +accepts 0 or string brandLocation: diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index 09ab6c1564a75a1033097e892e32d7c951d0cffa..99bb6c3af11fc0e214bfb0898ccc6e090ba40dca 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -343,7 +343,9 @@ window.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { if (typeof slave.eyewear !== "string") { slave.eyewear = "none"; } - slave.brand = Math.clamp(+slave.brand, 0, 1) || 0; + if (typeof slave.brand !== "string") { + slave.brand = 0; + } if (typeof slave.brandLocation !== "string") { slave.brandLocation = 0; }