From e898535bc826baf4a5f858db1b7e673ffe68d0c3 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Wed, 9 Dec 2020 12:22:21 -0800
Subject: [PATCH] Correct min/max mixup in recruiting

---
 src/uncategorized/seRecruiterSuccess.tw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uncategorized/seRecruiterSuccess.tw b/src/uncategorized/seRecruiterSuccess.tw
index 80f97c2fe2d..545dd1ac862 100644
--- a/src/uncategorized/seRecruiterSuccess.tw
+++ b/src/uncategorized/seRecruiterSuccess.tw
@@ -3,7 +3,7 @@
 <<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $encyclopedia = "Enslaving People", $recruiterProgress = 0>>
 
 <<if $recruiterTarget == "young migrants">>
-	<<set _slave = GenerateNewSlave("", {minAge: 22, disableDisability: 1})>>
+	<<set _slave = GenerateNewSlave("", {maxAge: 22, disableDisability: 1})>>
 	<<run generateSalonModifications(_slave)>>
 	<<set _slave.origin = "$He submitted to enslavement for a better chance at survival than $he had as a migrant.">>
 	<<set _slave.devotion = random(-15,5)>>
@@ -180,4 +180,4 @@
 	//You lack the necessary funds to enslave $him.//
 	<<set $recruiterProgress = 7>>
 <</if>>
-</span>
\ No newline at end of file
+</span>
-- 
GitLab