From c303d838141bbac8d44ded237169484010d4319e Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Mon, 22 Oct 2018 11:54:10 -0400
Subject: [PATCH] Quick fix

---
 src/uncategorized/BackwardsCompatibility.tw | 3 +++
 src/uncategorized/remoteSurgery.tw          | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 29c88e53c7e..97734d59e7e 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -209,6 +209,9 @@
 <<set $enduringDevotion = Number($enduringDevotion) || 0>>
 <<set $averageTrust = Number($averageTrust) || 0>>
 <<set $averageDevotion = Number($averageDevotion) || 0>>
+<<if def $limbsComplete>>
+	<<unset $limbsComplete>>
+<</if>>
 
 /* pregmod stuff */
 
diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw
index e7a0575078b..809a3345029 100644
--- a/src/uncategorized/remoteSurgery.tw
+++ b/src/uncategorized/remoteSurgery.tw
@@ -1593,14 +1593,14 @@ Work on $him structurally:
 				<<set $activeSlave.amp = -5>>
 				<<set $surgeryType = "cyberPLimbs">>
 			<</switch>>
-			<<set $limbs.deleteAt(_i), $limbsComplete-->>
+			<<set $limbs.deleteAt(_i), $limbsCompleted-->>
 			<<set $activeSlave.armsTat = 0, $activeSlave.legsTat = 0>>
 			<<goto "Surgery Degradation">>
 		<</link>>
 	<</if>>
 	|
 	<<link "Discard">>
-		<<set $limbs.deleteAt(_i), $limbsComplete-->>
+		<<set $limbs.deleteAt(_i), $limbsCompleted-->>
 		<<goto "Remote Surgery">>
 	<</link>>
 	|
@@ -1622,7 +1622,7 @@ Work on $him structurally:
 		<</switch>>
 		
 		<<set $activeSlave.readyLimbs.push(_newLimbs)>>
-		<<set $limbs.deleteAt(_i), $limbsComplete-->>
+		<<set $limbs.deleteAt(_i), $limbsCompleted-->>
 		<<goto "Remote Surgery">>
 	<</link>><<if $activeSlave.PLimb == 1>>// These can be accessed at any time during slave inspection //<</if>>
 <</if>>
-- 
GitLab