From ce0829bf0f611ece7a7587388307186f77bce4bd Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Mon, 7 Oct 2019 18:55:42 +0200 Subject: [PATCH] fix limbs getting reset --- 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 8ed3ce2ca00..3405ab4b97e 100644 --- a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw +++ b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw @@ -104,11 +104,11 @@ <<set $tempSlave.amp = 1>> <</if>> */ -<<if hasAnyNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>> +<<if hasAllNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>> <<print "Slave has normal limbs, limb interface reset to 0 (no interface)">><br> <<set $tempSlave.PLimb = 0>> <</if>> -<<if ($tempSlave.PLimb == 0) && hasAnyProstheticLimbs($tempSlave)>> +<<if ($tempSlave.PLimb == 0) && hasAllProstheticLimbs($tempSlave)>> <<print "Slave has no prosthetic limb interface, remove all limbs">> <<run removeLimbs($tempSlave, "all")>> <</if>> -- GitLab