this code is hateful

This commit is contained in:
Pao
2023-01-09 23:58:34 +01:00
parent 6c05376606
commit 9cabeebdcf

View File

@@ -22,12 +22,12 @@ end
local function CheckIfCanBeOperated(modData)
if modData.TOC.RightHand.IsCut and not modData.RightHand.IsOperated
or modData.TOC.RightForearm.IsCut and not modData.RightForearm.IsOperated
or modData.TOC.RightArm.IsCut and not modData.RightArm.IsOperated
or modData.TOC.LeftHand.IsCut and not modData.LeftHand.IsOperated
or modData.TOC.LeftForearm.IsCut and not modData.LeftForearm.IsOperated
or modData.TOC.LeftArm.IsCut and not modData.LeftArm.IsOperated then
if modData.TOC.RightHand.IsCut and not modData.TOC.RightHand.IsOperated
or modData.TOC.RightForearm.IsCut and not modData.TOC.RightForearm.IsOperated
or modData.TOC.RightArm.IsCut and not modData.TOC.RightArm.IsOperated
or modData.TOC.LeftHand.IsCut and not modData.TOC.LeftHand.IsOperated
or modData.TOC.LeftForearm.IsCut and not modData.TOC.LeftForearm.IsOperated
or modData.TOC.LeftArm.IsCut and not modData.TOC.LeftArm.IsOperated then
return true
else
return false