From 0068124d4a4947ea0bc2c3093695aed2f733fc1f Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sat, 26 Dec 2020 21:28:21 -0500
Subject: [PATCH] fix bug if player actually used the default desc

---
 src/facilities/toyShop/toyShop.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/facilities/toyShop/toyShop.js b/src/facilities/toyShop/toyShop.js
index 4eea42177b7..81bcb59b1a4 100644
--- a/src/facilities/toyShop/toyShop.js
+++ b/src/facilities/toyShop/toyShop.js
@@ -19,9 +19,9 @@ App.UI.toyShop = function() {
 	}
 
 	function init() {
-		buttPlugName = "spade-shaped plug";
+		buttPlugName = "";
 		buttPlugData = {
-			name: "Spade-shaped plug",
+			name: "",
 			width: 1,
 			length: 1
 		};
@@ -80,7 +80,7 @@ App.UI.toyShop = function() {
 					)
 				);
 				build.append(App.UI.DOM.generateLinksStrip(linkArray));
-			} else {
+			} else if (buttPlugName){
 				el.append(apply());
 			}
 
@@ -117,7 +117,7 @@ App.UI.toyShop = function() {
 		}
 
 		function desc() {
-			const value = App.UI.DOM.makeElement("div", `Enter value here as it will appear in descriptions: a standard "butt plug" `);
+			const value = App.UI.DOM.makeElement("div", `Enter shape here as it will appear in descriptions `);
 			value.append(App.UI.DOM.makeTextBox(
 				buttPlugName,
 				v => {
@@ -125,12 +125,12 @@ App.UI.toyShop = function() {
 					refresh();
 				}
 			));
-			App.UI.DOM.appendNewElement("span", value, ` Your slave has a ${buttPlugName} wedged firmly in their asshole.`, "note");
+			App.UI.DOM.appendNewElement("span", value, ` Your slave has a standard ${buttPlugName ? buttPlugName : `spade-shaped plug`} wedged firmly in their asshole.`, "note");
 			return value;
 		}
 
 		function title() {
-			const title = App.UI.DOM.makeElement("div", `Enter title as it will appear in lists of choices; "Butt plug" `);
+			const title = App.UI.DOM.makeElement("div", `Enter title as it will appear in lists of choices `);
 			title.append(App.UI.DOM.makeTextBox(
 				buttPlugData.name,
 				v => {
-- 
GitLab