From 93bd1863d1ebd59ae0bdb35cd5b19b1f4bc6237d Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Wed, 11 Nov 2020 02:32:09 -0800 Subject: [PATCH] Fixes --- src/endWeek/saRelationships.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/endWeek/saRelationships.js b/src/endWeek/saRelationships.js index 89e33dec6f0..4f5b92ae7c5 100644 --- a/src/endWeek/saRelationships.js +++ b/src/endWeek/saRelationships.js @@ -281,10 +281,10 @@ App.SlaveAssignment.relationships = (function() { } } } else if (mutualChildren(slave, potentialFriend, V.slaves) > 0) { - if (App.Utils.sexAllowed(slave, potentialFriend)) { - if (potentialFriend.rules.relationship === "permissive") { + if (App.Utils.sexAllowed(slave, potentialFriend)) { + if (potentialFriend.rules.relationship === "permissive") { r.push(`${slave.slaveName} and ${potentialFriend.slaveName} have`); - if (mutualChildren(slave, potentialFriend, V.slaves) === 0) { + if (mutualChildren(slave, potentialFriend, V.slaves) === 1) { r.push(`a child`); } else { r.push(`children`); -- GitLab