From 76c47bf2a2f158f77d6ec522bc7512f2851d057f Mon Sep 17 00:00:00 2001
From: CheaterDude <13665-joxosix654email-9.co@users.noreply.gitgud.io>
Date: Thu, 2 Jan 2020 19:11:51 -0800
Subject: [PATCH] Update mod_EditSlaveCheatDatatypeCleanupNew.tw  - fixed typo

---
 src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
index 3a3beac0738..6102f867389 100644
--- a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
+++ b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
@@ -115,8 +115,8 @@
 <<if $tempSlave.leg.right != null >>
 	<<run configureLimbs($tempSlave, "right leg", $tempSlave.leg.right.type)>>
 <</if>>
-<<if $tempSlave.pLimb == 2 && !isProstheticAvailable($tempSlave, "interfaceP2")>><<run addProsthetic($tempSlave, "interfaceP2")>>
-<<elseif $tempSlave.pLimb == 1 && !isProstheticAvailable($tempSlave, "interfaceP1")>><<run addProsthetic($tempSlave, "interfaceP1")>>
+<<if $tempSlave.PLimb == 2 && !isProstheticAvailable($tempSlave, "interfaceP2")>><<run addProsthetic($tempSlave, "interfaceP2")>>
+<<elseif $tempSlave.PLimb == 1 && !isProstheticAvailable($tempSlave, "interfaceP1")>><<run addProsthetic($tempSlave, "interfaceP1")>>
 <</if>>
 <<if hasAllNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>>
 	<<print "Slave has normal limbs, limb interface reset to 0 (no interface)">><br>
-- 
GitLab