Removed unused param
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user