From 16bc54609e2635c274f657715afa4ad09a0ecc09 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Sun, 26 Jan 2020 16:42:05 -0800 Subject: [PATCH] incest porn is never valid if $seeIncest is 0. --- src/js/porn.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/porn.js b/src/js/porn.js index e735789e954..6a48d23fd9d 100644 --- a/src/js/porn.js +++ b/src/js/porn.js @@ -447,9 +447,11 @@ App.Porn.Genre.incest = { } }, valid: function(slave) { - return (App.Utils.hasFamilySex(slave)) // has sex with family + return (V.seeIncest !== 0) && ( + (App.Utils.hasFamilySex(slave)) // has sex with family || (App.Utils.hasPartnerSex(slave) && areRelated(slave, getSlave(slave.relationshipTarget))) // or with her partner, who is related to her - || (App.Utils.sexAllowed(slave, V.PC) && areRelated(slave, V.PC)); // or with you, and is related to you + || (App.Utils.sexAllowed(slave, V.PC) && areRelated(slave, V.PC)) // or with you, and is related to you + ); }, uiName: function() { return capFirstChar(this.fameName); } }; -- GitLab