From b62488084d731638951a5e75589e7ed97462df9a Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 22 Dec 2020 12:39:24 -0500
Subject: [PATCH] clean up copying properties of objects that are properties of
 slave object

---
 src/js/bodySwap/bodySwap.js | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/js/bodySwap/bodySwap.js b/src/js/bodySwap/bodySwap.js
index f59138595d3..d1c4e345493 100644
--- a/src/js/bodySwap/bodySwap.js
+++ b/src/js/bodySwap/bodySwap.js
@@ -10,12 +10,7 @@ globalThis.bodySwap = function(soul, body, fromGenepool) {
 	soul.physicalAge = body.physicalAge;
 	soul.visualAge = body.visualAge;
 	soul.ageImplant = body.ageImplant;
-	soul.health.condition = body.health.condition;
-	soul.health.shortDamage = body.health.shortDamage;
-	soul.health.longDamage = body.health.longDamage;
-	soul.health.illness = body.health.illness;
-	soul.health.tired = body.health.tired;
-	soul.health.health = body.health.health;
+	soul.health = body.health;
 	soul.weight = body.weight;
 	soul.muscles = body.muscles;
 	soul.height = body.height;
@@ -174,9 +169,6 @@ globalThis.bodySwap = function(soul, body, fromGenepool) {
 		soul.curatives = body.curatives;
 		soul.drugs = body.drugs;
 		soul.prestige = body.prestige;
-		soul.porn.viewerCount = body.porn.viewerCount;
-		soul.porn.prestige = body.porn.prestige;
-		soul.porn.prestigeDesc = body.porn.prestigeDesc;
 		soul.prestigeDesc = body.prestigeDesc;
 		soul.minorInjury = body.minorInjury;
 		soul.eyewear = body.eyewear;
-- 
GitLab