Bunch of cleaning on old todos

This commit is contained in:
Pao
2023-02-06 02:44:59 +01:00
parent 83077a115d
commit 1545c88a19
10 changed files with 18 additions and 106 deletions

View File

@@ -45,16 +45,16 @@ end
-----------------------------------------
function CheckIfItemIsAmputatedLimb(item)
-- TODO Benchmark if this is faster
local item_full_type = item:getFullType()
local check
if string.find(item_full_type, "TOC.Amputation_") then
return true
check = true
else
return false
check = false
end
return check
end