From 0ad3985e554b9ef4a5e4ae9c4c6bfc2ec1b83e3c Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Fri, 15 May 2020 15:00:51 +0200
Subject: [PATCH] fix art per suggestion

---
 src/events/RESS/assFitting.js | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/events/RESS/assFitting.js b/src/events/RESS/assFitting.js
index 2848c20c5fd..c6165a1e355 100644
--- a/src/events/RESS/assFitting.js
+++ b/src/events/RESS/assFitting.js
@@ -30,7 +30,11 @@ App.Events.RESSAssFitting = class RESSAssFitting extends App.Events.BaseEvent {
 
 		V.nextLink = "Next Week";
 
-		App.Events.drawEventArt(node, eventSlave, "no clothing");
+		let artDiv = document.createElement("div"); // named container so we can replace it later
+		App.Events.drawEventArt(artDiv, eventSlave, "no clothing");
+		node.appendChild(artDiv);
+
+
 		let t = [];
 		t.push(`Your slaves get dressed in a large wardrobe area adjacent to the dormitory, rooms, and showers. There are always slaves working, so groups of slaves can be seen putting on their clothing here several times a day. Your naked sex slaves hurrying into the outfits you've selected for them is an undeniably erotic sight. Sometimes it's comical, especially when your transformations of your slaves' bodies produce amusing inconveniences. Today, it's`);
 		t.push(App.UI.slaveDescriptionDialog(eventSlave));
@@ -231,7 +235,9 @@ App.Events.RESSAssFitting = class RESSAssFitting extends App.Events.BaseEvent {
 		]);
 
 		function help() {
-			App.Events.drawEventArt(node, eventSlave);
+			// replace slave art
+			$(artDiv).empty();
+			App.Events.drawEventArt(artDiv, eventSlave);
 
 			t = [];
 			t.push(`Deciding to help ${him}, you head over and grab a handful of each of ${his} asscheeks, hefting ${him}`);
-- 
GitLab