From bfd5ae8f347c15f75bfae8ee08ec2b0707aa95a4 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 16 Feb 2021 00:22:04 -0500
Subject: [PATCH] fix parent to use relativeterm

---
 src/npc/generate/newChildIntro.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/npc/generate/newChildIntro.js b/src/npc/generate/newChildIntro.js
index d70a96b48cd..460455913e4 100644
--- a/src/npc/generate/newChildIntro.js
+++ b/src/npc/generate/newChildIntro.js
@@ -865,11 +865,11 @@ App.UI.newChildIntro = function(slave) {
 				"div",
 				el,
 				App.UI.DOM.link(
-					`Permit ${his} devoted mother to name ${his2} ${daughter}`,
+					`Permit ${his} devoted ${relativeTerm(slave, parent)}, ${parent.slaveName}, to name ${his2} ${daughter}`,
 					() => {
 						parentNames(parent, slave);
 						slave.birthName = slave.slaveName;
-						jQuery("#naming").empty().append(`After some careful consideration, ${tempMom.slaveName} picks a name ${he2} hopes you'll like; from now on ${his2} ${daughter} will be known as "${slave.slaveName}".`);
+						jQuery("#naming").empty().append(`After some careful consideration, ${parent.slaveName} picks a name ${he2} hopes you'll like; from now on ${his2} ${daughter} will be known as "${slave.slaveName}".`);
 						const slaveName = document.createElement("span");
 						slaveName.classList.add('slave-name');
 						slaveName.append(slave.slaveName);
-- 
GitLab