diff --git a/src/endWeek/saSocialEffects.js b/src/endWeek/saSocialEffects.js index 76df7197803d06ae3b3d09eec94d410430a36438..c42351cb8263fb36863e467b1f0e0b8e8f9a0877 100644 --- a/src/endWeek/saSocialEffects.js +++ b/src/endWeek/saSocialEffects.js @@ -822,11 +822,10 @@ App.SlaveAssignment.saSocialEffects = function(slave) { `Society <span class="green">approves</span> of ${slave.slaveName}'s collar as an expression of the old ideal of mortification of the flesh, advancing the combination of religious originalism and modern slavery.`)); } const clothes = App.Data.clothes.get(slave.clothes); - - if (clothes.fs && clothes.fs.loves && clothes.fs.loves.has("FSChattelReligionist")) { + if (clothes && clothes.fs && clothes.fs.loves && clothes.fs.loves.has("FSChattelReligionist")) { t.push(new SocialEffect("Chattel Religionist", 1, `Religious clothing`, `Society <span class="green">approves</span> of ${his} religiously themed clothing, strengthening the connection between sexual servitude and faith.`)); - } else if (clothes.fs && clothes.fs.tolerates && clothes.fs.tolerates.has("FSChattelReligionist")) { + } else if (clothes && clothes.fs && clothes.fs.tolerates && clothes.fs.tolerates.has("FSChattelReligionist")) { t.push(new SocialEffect("Chattel Religionist", 0, `Spartan clothing`, `Society accepts ${his} spartan clothing, seeing it as permissible under the new religious mores.`)); } else if (slave.fuckdoll === 0) {