From 17bfd90903b26c4558013ee4a1fc1f401023525e Mon Sep 17 00:00:00 2001
From: corncobman21 <corncobman21@hotmail.com>
Date: Thu, 19 Apr 2018 23:15:57 -0400
Subject: [PATCH] Use slaveIndices for relationshipTarget, simplify
 lispReplace() code

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

diff --git a/src/npc/fFeelings.tw b/src/npc/fFeelings.tw
index 6dfc09c2e33..6170ad5736d 100644
--- a/src/npc/fFeelings.tw
+++ b/src/npc/fFeelings.tw
@@ -948,7 +948,7 @@ My favorite part of my body i<<s>>
 <</if>>
 
 <<if ($activeSlave.relationship > 0)>>
-	<<set _partner = slaveIndices[$activeSlave.relationshipTarget]>>
+	<<set _partner = $slaveIndices[$activeSlave.relationshipTarget]>>
 	<<if def _partner>>
     	<<if _lisping == 1>>
     		<<set _partnerName = lispReplace($slaves[_partner].slaveName)>>
-- 
GitLab