From 72fb315ff1d8ade1f47e25c137b0b5379296af67 Mon Sep 17 00:00:00 2001
From: klorpa <30924131+klorpa@users.noreply.github.com>
Date: Mon, 24 Jun 2019 23:17:17 -0500
Subject: [PATCH] BugChecks

---
 src/js/DefaultRules.js                  | 2 +-
 src/js/SlaveState.js                    | 4 ----
 src/js/rulesAutosurgery.js              | 2 +-
 src/uncategorized/RESS.tw               | 2 +-
 src/uncategorized/surgeryDegradation.tw | 4 ++--
 5 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js
index b369d152008..56b7d546313 100644
--- a/src/js/DefaultRules.js
+++ b/src/js/DefaultRules.js
@@ -2312,7 +2312,7 @@ window.DefaultRules = (function() {
 				}
 			}
 		}
-		
+
 		if (rule.hornColor !== undefined && (rule.hornColor !== null)) {
 			if (slave.horn !== "none") {
 				if ((slave.hornColor !== rule.hornColor)) {
diff --git a/src/js/SlaveState.js b/src/js/SlaveState.js
index 2829a8b3444..bf21ac6e685 100644
--- a/src/js/SlaveState.js
+++ b/src/js/SlaveState.js
@@ -1777,10 +1777,6 @@ App.Entity.SlaveState = class SlaveState {
 		 * * "long stockings"
 		 */
 		this.legAccessory = "none";
-		/**
-		 * may accept strings, use at own risk
-		 */
-		this.armAccessory = "none";
 		/**
 		* may accept strings, use at own risk
 		* * "none"
diff --git a/src/js/rulesAutosurgery.js b/src/js/rulesAutosurgery.js
index c19f52da1ba..120b783d549 100644
--- a/src/js/rulesAutosurgery.js
+++ b/src/js/rulesAutosurgery.js
@@ -472,7 +472,7 @@ window.rulesAutosurgery = (function() {
 				commitProcedure(`surgery to modify ${his} ears into a pair of bovine-like ears`, s => { s.earShape = "ushi"; });
 			}
 		}
-		
+
 	}
 
 	/**
diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw
index 6ffa69a7ba8..addae890ac7 100644
--- a/src/uncategorized/RESS.tw
+++ b/src/uncategorized/RESS.tw
@@ -2453,7 +2453,7 @@ ripped biceps, and strapping lats. <<if $activeSlave.dick > 2>>$His massive cock
 <</if>>
 with a trim chest, narrow hips and not much of an ass to speak of. Despite the myriad ways a Free Cities slaveowner can give his property tits and asses, you've held off for now, keeping $him lithe.
 <<if $activeSlave.missingLegs != 3>>
-	$He comes before you for a routine nude inspection, obediently standing before your 
+	$He comes before you for a routine nude inspection, obediently standing before your
 	<<if $activeSlave.missingArms != 3>>
 		desk with $his <<if $activeSlave.missingArms == 0>>hands crossed<<else>>hand placed<</if>>
 		<<if $activeSlave.belly >= 30000>>
diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw
index 9d54cf7bb6d..99611c8252b 100644
--- a/src/uncategorized/surgeryDegradation.tw
+++ b/src/uncategorized/surgeryDegradation.tw
@@ -1840,7 +1840,7 @@ As the remote surgery's long recovery cycle completes,
 	<<else>>
 		$He exits the surgery on $his own two feet. $He's still sore, but the modern surgery is fast and effective, and $he can use $his restored legs immediately. $He gingerly stands on one foot, then the other; and even takes a few little hops. $He obviously confused, finding it surprising that you would go to the expense and trouble of repairing $him. As with all surgery @@.red;$his health has been slightly affected.@@
 	<</if>>
-	
+
 <<case "ampA1">>
 	<<if $activeSlave.fetish == "mindbroken">>
 		You're there to help $him with the door as $he exits the surgery. $He smiles dumbly at your generosity, already seeming to forget $he ever had another arm. Since the surgery was invasive, @@.red;$his health has been greatly affected.@@
@@ -1866,7 +1866,7 @@ As the remote surgery's long recovery cycle completes,
 		You're there to open the door for $him as $he exits the surgery. You had a good idea what $his reaction would be, so you've made sure to bind $his leg<<if ($activeSlave.missingLegs == 0)>>s<</if>> to prevent $him from trying to attack you, and <<if ($activeSlave.teeth == "removable")>>remove $his teeth<<else>>muzzle $him<</if>> to prevent $him from trying to bite. $He sobs convulsively, and $his <<if canSee($activeSlave)>>eyes dart desperately from side to side through $his tears, hopelessly imploring the mirror to show $him something other than this<<else>>shoulder stumps twitch pathetically with $his desperate efforts to move $his arms, to prove there is something other than this<</if>>. Anything other than this. @@.mediumorchid;The surgical invasion has filled $him with horror and anger.@@ Since the surgery was invasive, @@.red;$his health has been greatly affected.@@ $He is @@.gold;utterly and entirely terrified@@ of your total power over $his body.
 		<<set $activeSlave.trust -= 40, $activeSlave.devotion -= 40>>
 	<</if>>
-	
+
 <<case "ampL1">>
 	<<if $activeSlave.fetish == "mindbroken">>
 		Of course, $he could not walk out of the surgery by $himself; you had to walk alongside $him. $He leans into you the entire time, already seeming to forget $he ever had another leg. Since the surgery was invasive, @@.red;$his health has been greatly affected.@@
-- 
GitLab