From 0e84efdee86740bb2ced98f96f276f930e393f6b Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 9 Dec 2019 21:33:00 -0500
Subject: [PATCH] small fix

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

diff --git a/src/js/assayJS.js b/src/js/assayJS.js
index 11a985e8d18..b75a8c74f0e 100644
--- a/src/js/assayJS.js
+++ b/src/js/assayJS.js
@@ -641,9 +641,9 @@ window.PoliteRudeTitle = function PoliteRudeTitle(slave) {
 		} else if (slave.intelligence + slave.intelligenceImplant > 50) {
 			r += (PC.title > 0 ? `Ma${s}ter` : `Mi${s}tre${ss}`);
 		} else if (slave.trust > 0) {
-			r += PC.name;
+			r += PC.slaveName;
 		} else {
-			r += (PC.slaveName ? PC.slaveName : PC.slaveName);
+			r += (PC.slaveSurname ? PC.slaveSurname : PC.slaveName);
 		}
 	}
 	return r;
-- 
GitLab