Removed unused param

This commit is contained in:
ZioPao
2024-08-21 12:36:04 +02:00
parent 2de512b447
commit 22e6621300

View File

@@ -123,8 +123,7 @@ function ISEquipWeaponAction:isValid()
end end
---A recreation of the original method, but with amputations in mind ---A recreation of the original method, but with amputations in mind
---@param dcInst DataController function ISEquipWeaponAction:performWithAmputation()
function ISEquipWeaponAction:performWithAmputation(dcInst)
TOC_DEBUG.print("running ISEquipWeaponAction performWithAmputation") TOC_DEBUG.print("running ISEquipWeaponAction performWithAmputation")
local hand = nil local hand = nil
@@ -208,7 +207,7 @@ function ISEquipWeaponAction:perform()
local dcInst = DataController.GetInstance(self.character:getUsername()) local dcInst = DataController.GetInstance(self.character:getUsername())
-- Just check it any limb has been cut. If not, we can just return from here -- Just check it any limb has been cut. If not, we can just return from here
if dcInst:getIsAnyLimbCut() == true then if dcInst:getIsAnyLimbCut() == true then
self:performWithAmputation(dcInst) self:performWithAmputation()
end end
end end