From 86b67659551667d33ab43e2181c9cab5ae2f8201 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 26 Aug 2017 16:06:58 -0400
Subject: [PATCH] fixes and credits

---
 src/gui/Encyclopedia/encyclopedia.tw          | 3 ++-
 src/uncategorized/randomNonindividualEvent.tw | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gui/Encyclopedia/encyclopedia.tw b/src/gui/Encyclopedia/encyclopedia.tw
index c9f500fae96..c4375efcc8e 100644
--- a/src/gui/Encyclopedia/encyclopedia.tw
+++ b/src/gui/Encyclopedia/encyclopedia.tw
@@ -2578,8 +2578,9 @@ __I do not give credit without explicit permission to do so.__ If you have contr
 <br>''anon'' for Physical Idealist's beauty standard.
 <br>''anon'' for Gender Radicalist's trap preference.
 <br>''anon'' for the slave mutiny event.
+<br>''onithyr'' for various little tweaks and additions.
 <br>''anonNeo'' for spellchecking.
-<br>''Utopia'' for dirty dealings gang leader focus.
+<br>''Utopia'' for dirty dealings gang leader focus and updates to it.
 <br>''Bane70'' optimized huge swaths of code with notable professionalism.
 <br>''Circle Tritagonist'' provided several new collars and outfits.
 <br>''Qotsafan'' submitted bugfixes.
diff --git a/src/uncategorized/randomNonindividualEvent.tw b/src/uncategorized/randomNonindividualEvent.tw
index 5c970e75e79..333e132944c 100644
--- a/src/uncategorized/randomNonindividualEvent.tw
+++ b/src/uncategorized/randomNonindividualEvent.tw
@@ -613,7 +613,7 @@
 <<for _recruiterSlaves.length > 0>>
 	<<set $recruiterSlave = _recruiterSlaves.pluck()>>
 	<<if random(1,100) > 90+(totalRelatives($recruiterSlave)*2)>>
-		<<set $j = $genePool.findIndex(function(o) { return o.ID == $slaves[$i].ID; })>>
+		<<set $j = $genePool.findIndex(function(o) { return o.ID == $recruiterSlave.ID; })>>
 		<<if $j != -1>>
 			<<set $events.push("RE relative recruiter")>>
 			<<break>>
-- 
GitLab