From dbb6567d9473d054952489419cdaaa92353a2bc1 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 24 Dec 2019 15:20:42 -0800
Subject: [PATCH] Use the utility function

---
 src/uncategorized/saRivalries.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uncategorized/saRivalries.tw b/src/uncategorized/saRivalries.tw
index e36309203ea..ea30dfb7850 100644
--- a/src/uncategorized/saRivalries.tw
+++ b/src/uncategorized/saRivalries.tw
@@ -244,7 +244,7 @@
 		<</if>>
 	<</if>>
 	<<if $familyTesting>>
-		<<if $slaves[$i].mother == $slaves[_j].ID || $slaves[$i].father == $slaves[_j].ID || $slaves[_j].mother == $slaves[$i].ID || $slaves[_j].father == $slaves[$i].ID || areSisters($slaves[$i], $slaves[_j])>>
+		<<if areRelated($slaves[$i], $slaves[_j])>
 			<<if _roll > 70 && $slaves[$i].rivalry < 3 && _lightenedRivalry != 1>>
 				$slaves[$i].slaveName and <<= SlaveFullName($slaves[_j])>> @@.lightsalmon;pursue their family rivalry.@@
 				<<set $slaves[_j].rivalry += 1, $slaves[$i].rivalry += 1>>
-- 
GitLab