From 8f0a61ac2940a5d169b1b22784c86bef32ece1ea Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 15 Dec 2020 11:24:47 -0500 Subject: [PATCH] fixes --- src/npc/startingGirls/editFamily.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/npc/startingGirls/editFamily.js b/src/npc/startingGirls/editFamily.js index b81cb6571a9..4c3bdea9ed3 100644 --- a/src/npc/startingGirls/editFamily.js +++ b/src/npc/startingGirls/editFamily.js @@ -152,7 +152,7 @@ App.Intro.editFamily = function(slave) { ) ); - if (canBeMom(V.PC) && _allowPCFamily) { + if ((slave.mother !== V.PC.ID) && (V.PC.mother !== slave.ID) && _allowPCFamily) { linkArray.push( App.UI.DOM.link( "You", @@ -215,7 +215,7 @@ App.Intro.editFamily = function(slave) { ) ); - if (canBeDad(V.PC) && _allowPCFamily) { + if ((slave.father !== V.PC.ID) && (V.PC.father !== slave.ID) && _allowPCFamily) { linkArray.push( App.UI.DOM.link( "You", @@ -355,7 +355,7 @@ App.Intro.editFamily = function(slave) { ); if (slave.dick > 0) { - if (canBeMom(V.PC) && (slave.actualAge - V.PC.actualAge) >= V.potencyAge && _allowPCFamily) { + if (canBeDad(V.PC) && (slave.actualAge - V.PC.actualAge) >= V.potencyAge && _allowPCFamily) { linkArray.push( App.UI.DOM.link( "You", @@ -368,7 +368,7 @@ App.Intro.editFamily = function(slave) { } for (const potentialRel of V.slaves) { - if (canBeMom(potentialRel) && ((potentialRel.actualAge - slave.actualAge) >= potentialRel.pubertyAgeXX) && potentialRel.newGamePlus === 0) { + if (canBeDad(potentialRel) && ((potentialRel.actualAge - slave.actualAge) >= potentialRel.pubertyAgeXX) && potentialRel.newGamePlus === 0) { linkArray.push( App.UI.DOM.link( potentialRel.slaveName, -- GitLab