From 9eb8be2de6dba46a14772f9fd0ffd659b432f1c1 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 15 Jun 2020 02:57:12 -0400
Subject: [PATCH] fixes

---
 devNotes/legacy files/walkPast.txt  | 34 ++++++++++++++---------------
 src/npc/descriptions/belly/belly.js |  2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/devNotes/legacy files/walkPast.txt b/devNotes/legacy files/walkPast.txt
index 29599e7c47c..c040a926272 100644
--- a/devNotes/legacy files/walkPast.txt	
+++ b/devNotes/legacy files/walkPast.txt	
@@ -1366,7 +1366,7 @@
 	<<if $activeSlave.inflation == 0>>
 	<<if $activeSlave.bellyImplant < 2000>>
 	<<if $activeSlave.belly >= 600000>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a very tight corset">>
 			$His corset struggles to contain $his enormous belly.
@@ -1406,7 +1406,7 @@
 			$His bare enormous squirming pregnant belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.belly >= 300000>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a very tight corset">>
 			$His corset struggles to contain $his giant belly.
@@ -1450,7 +1450,7 @@
 			$His bare giant pregnant belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 190>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His massive gut is alluringly smooth under the tight suit.
@@ -1508,7 +1508,7 @@
 			$His massive bare jiggling gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.belly >= 10000 || ($activeSlave.bellyAccessory == "a huge empathy belly") || ($activeSlave.bellyAccessory == "a large empathy belly")>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "conservative clothing">>
 			$His taut blouse shows off $his huge belly.
@@ -1580,7 +1580,7 @@
 			$His bare huge pregnant belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 160>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His giant gut is alluringly smooth under the tight suit.
@@ -1648,7 +1648,7 @@
 			$His giant bare jiggling gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 130>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His big gut is perfectly smoothed by the tight latex.
@@ -1720,7 +1720,7 @@
 			$His big bare jiggling gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.bellyPreg >= 5000 || ($activeSlave.bellyAccessory == "a medium empathy belly")>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "conservative clothing">>
 			$His taut blouse shows off $his big belly.
@@ -1792,7 +1792,7 @@
 			$His bare pregnant belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight >= 95>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			Its suit is expressly designed to encourage use of its holes.
@@ -1868,7 +1868,7 @@
 			$His bare, jiggling, fat gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.bellyPreg >= 1500 || ($activeSlave.bellyAccessory == "a small empathy belly")>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			Its suit is expressly designed to encourage use of its holes.
@@ -1942,7 +1942,7 @@
 			$His barely visible pregnancy catches your eye.
 		<</switch>>
 	<<else>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<if $activeSlave.weight >= 30>>
 			Slight jiggling can be seen in $his chubby belly as $he moves.
 		<</if>>
@@ -2352,7 +2352,7 @@
 			$His bare giant belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 190>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His massive gut is alluringly smooth under the tight suit.
@@ -2492,7 +2492,7 @@
 			$His bare huge belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 160>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His giant gut is alluringly smooth under the tight suit.
@@ -2566,7 +2566,7 @@
 			$His giant bare jiggling gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 130>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His big gut is perfectly smoothed by the tight latex.
@@ -2875,7 +2875,7 @@
 	<</if>>
 	<<else>> /* inflation descs */
 	<<if $activeSlave.weight > 190>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His massive gut is alluringly smooth under the tight suit.
@@ -3017,7 +3017,7 @@
 			$His bare, taut, sloshing belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 160>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His giant gut is alluringly smooth under the tight suit.
@@ -3091,7 +3091,7 @@
 			$His giant bare jiggling gut catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight > 130>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			$His big gut is perfectly smoothed by the tight latex.
@@ -3243,7 +3243,7 @@
 			$His bare, rounded, sloshing belly catches your eye.
 		<</switch>>
 	<<elseif $activeSlave.weight >= 95>>
-		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>>
+		<<= App.Desc.belly({slave: $activeSlave, saleDescription: 0)>>
 		<<switch $activeSlave.clothes>>
 		<<case "a Fuckdoll suit">>
 			Its suit is expressly designed to encourage use of its holes.
diff --git a/src/npc/descriptions/belly/belly.js b/src/npc/descriptions/belly/belly.js
index c315382f481..76226d98b31 100644
--- a/src/npc/descriptions/belly/belly.js
+++ b/src/npc/descriptions/belly/belly.js
@@ -37,7 +37,7 @@ App.Desc.belly = function({slave, saleDescription, eventDescription, applyLaw} =
 		r.push(`${He} has a slight curve to ${his} abdomen, unusual for a male slave.`);
 	}
 
-	if (showClothing === 1 && saleDescription === 0) {
+	if (V.showClothing === 1 && saleDescription === 0) {
 		if (V.surgeryDescription === 0) {
 			switch (slave.bellyAccessory) {
 				case "an extreme corset":
-- 
GitLab