this code is hateful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user