From d151214074c1d77881c17042f7b55d1b4465f337 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Fri, 14 Aug 2020 17:21:04 -0700
Subject: [PATCH] Also don't attempt to upgrade to FWB if the slaves are not
 allowed to do so.

---
 src/endWeek/saRelationships.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endWeek/saRelationships.js b/src/endWeek/saRelationships.js
index beca0e26ada..3177029d5bc 100644
--- a/src/endWeek/saRelationships.js
+++ b/src/endWeek/saRelationships.js
@@ -689,7 +689,7 @@ App.SlaveAssignment.relationships = (function() {
 						friend.relationship = 0;
 						friend.relationshipTarget = 0;
 						slave.relationshipTarget = 0;
-					} else if (App.Utils.sexAllowed(slave, friend)) {
+					} else if (App.Utils.sexAllowed(slave, friend) && slave.rules.relationship !== "just friends" && friend.rules.relationship !== "just friends") {
 						if (mutualChildren(slave, friend, V.slaves) > 0 && random(1, 100) < (50 + (10 * mutualChildren(slave, friend, V.slaves)) + seed)) {
 							r.push(`Having already had kids together, their relationship turns sexual once again, turning them into <span class="relationship">friends with benefits.</span>`);
 							slave.relationship++;
-- 
GitLab