From 7fcce52c82dc8605c482a6055a8c907f6d802bda Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sun, 24 Oct 2021 19:55:24 -0400
Subject: [PATCH] duped text in retire

---
 src/endWeek/events/retire.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/endWeek/events/retire.js b/src/endWeek/events/retire.js
index 41b32b55a35..a35c5a28969 100644
--- a/src/endWeek/events/retire.js
+++ b/src/endWeek/events/retire.js
@@ -301,7 +301,7 @@ globalThis.retireScene = function(originalSlave, artRenderer) {
 							}
 							r.push(`up. Watching on the monitors, you see ${slave.slaveName}'s mixed pleasure and pain at seeing ${him2} again so soon, followed by a tearful explanation and an embrace so heartfelt that the pair of ex-slaves collapse to the floor together, sobbing.`);
 							removeSlave(lover);
-							App.Events.addParagraph(desc, r);
+							App.Events.addParagraph(el, r);
 							r = [];
 							if (V.arcologies[0].FSPaternalist !== "unset") {
 								r.push(`Of course, your paternalistic arcology thinks this <span class="green">almost too romantic,</span> and there are jesting suggestions that outcomes this adorable ought to be illegal. The pair becomes celebrated citizens immediately.`);
@@ -311,11 +311,10 @@ globalThis.retireScene = function(originalSlave, artRenderer) {
 								r.push(`Though it is not ordinarily paternalistic, even your society thinks this is <span class="green">pretty romantic.</span>`);
 								repX(5 * V.FSSingleSlaveRep, "futureSocieties");
 							}
-							App.Events.addParagraph(desc, r);
+							App.Events.addParagraph(el, r);
 							App.UI.DOM.appendNewElement("p", result, "You have gained an additional well-off citizen.");
 							V.upperClass += 1;
 
-							App.Events.addNode(el, r);
 							jQuery(result).empty().append(el);
 						}
 					));
-- 
GitLab