From c9f9cb7a22d80b357ed4a73c08b0e95a302e4c40 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sun, 20 Dec 2020 03:03:51 -0500
Subject: [PATCH] clean wardrobe up a bit

---
 src/interaction/siWardrobe.js | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/src/interaction/siWardrobe.js b/src/interaction/siWardrobe.js
index 69a6efaa78d..8451ad35a61 100644
--- a/src/interaction/siWardrobe.js
+++ b/src/interaction/siWardrobe.js
@@ -51,29 +51,30 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
 			let niceOptionsArray = [];
 			let harshOptionsArray = [];
 
-			let clothingOption;
 			// Nice clothes
 			App.Data.clothes.nice.forEach(item => {
-				clothingOption = {
-					text: item.name,
-					updateSlave: {clothes: item.value, choosesOwnClothes: 0},
-					FS: item.fs,
-					slutty: item.slutty,
-					humiliating: item.humiliating
-				};
-				niceOptionsArray.push(clothingOption);
+				niceOptionsArray.push(
+					{
+						text: item.name,
+						updateSlave: {clothes: item.value, choosesOwnClothes: 0},
+						FS: item.fs,
+						slutty: item.slutty,
+						humiliating: item.humiliating
+					}
+				);
 			});
 			// Harsh clothes
 			App.Data.clothes.harsh.forEach(item => {
-				clothingOption = {
-					text: item.name,
-					updateSlave: {clothes: item.value, choosesOwnClothes: 0},
-					FS: item.fs,
-					slutty: item.slutty,
-					humiliating: item.humiliating
-				};
 				if (item.value !== "choosing her own clothes") {
-					harshOptionsArray.push(clothingOption);
+					harshOptionsArray.push(
+						{
+							text: item.name,
+							updateSlave: {clothes: item.value, choosesOwnClothes: 0},
+							FS: item.fs,
+							slutty: item.slutty,
+							humiliating: item.humiliating
+						}
+					);
 				}
 			});
 
-- 
GitLab