From 8f2246fa56e317cdfa71862f1e17262c0f5e515d Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 23 Feb 2021 02:54:42 -0500
Subject: [PATCH] surname fixes

---
 src/events/reRoyalBlood.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/events/reRoyalBlood.js b/src/events/reRoyalBlood.js
index ea97d131d54..e54a2906e36 100644
--- a/src/events/reRoyalBlood.js
+++ b/src/events/reRoyalBlood.js
@@ -624,6 +624,8 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent {
 			} else {
 				nationalityToName(slave);
 			}
+			slave.birthSurname = slaveTemplate.birthSurname;
+			slave.slaveSurname = slaveTemplate.birthSurname;
 			slave.career = "a prince";
 			slave.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was sold to you in exchange for aid.";
 			slave.prestige = 2;
@@ -678,6 +680,8 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent {
 			} else {
 				nationalityToName(slave);
 			}
+			slave.birthSurname = slaveTemplate.birthSurname;
+			slave.slaveSurname = slaveTemplate.birthSurname;
 			slave.career = "a Queen";
 			slave.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold to you in exchange for credits.";
 			slave.prestige = 2;
-- 
GitLab