diff --git a/src/endWeek/endWeekUtils.js b/src/endWeek/endWeekUtils.js index 58bfb027c082cfb1a4893ec8d50e6c2314e75169..3e17832622d65ed1b2344ef252371619a0a7f24a 100644 --- a/src/endWeek/endWeekUtils.js +++ b/src/endWeek/endWeekUtils.js @@ -8,5 +8,7 @@ globalThis.fetishChange = function(slave, fetish, strength = 65) { slave.fetish = fetish; slave.fetishStrength = strength; slave.fetishKnown = 1; - App.EndWeek.saVars.fetishChanged = 1; + if (App.EndWeek.saVars) { + App.EndWeek.saVars.fetishChanged = 1; + } }; \ No newline at end of file diff --git a/src/js/utilsSlave.js b/src/js/utilsSlave.js index ab9b7c85dcf5ef411904235472c496cf6d2aaafe..5fe7731b0a64e687baddc622629b86d0885d1008 100644 --- a/src/js/utilsSlave.js +++ b/src/js/utilsSlave.js @@ -2070,7 +2070,7 @@ globalThis.fetishChangeChance = function(slave) { fetish = (slave.fetishStrength / 4), sex = 0; - if (slave.clitSetting !== slave.fetish && App.EndWeek.saVars.fetishChanged !== 1) { + if (slave.clitSetting !== slave.fetish && !(App.EndWeek.saVars && App.EndWeek.saVars.fetishChanged === 1)) { // fetish should be more uncertain leading towards puberty and then steadily become more set in stone afterwards if (slave.balls) { if (V.potencyAge >= slave.actualAge) {