From 22e662130029f5d90bcad52e986a30768e8deee8 Mon Sep 17 00:00:00 2001 From: ZioPao Date: Wed, 21 Aug 2024 12:36:04 +0200 Subject: [PATCH] Removed unused param --- media/lua/client/TOC/Controllers/LimitActionsController.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/media/lua/client/TOC/Controllers/LimitActionsController.lua b/media/lua/client/TOC/Controllers/LimitActionsController.lua index ffdf343..482a7ef 100644 --- a/media/lua/client/TOC/Controllers/LimitActionsController.lua +++ b/media/lua/client/TOC/Controllers/LimitActionsController.lua @@ -123,8 +123,7 @@ function ISEquipWeaponAction:isValid() end ---A recreation of the original method, but with amputations in mind ----@param dcInst DataController -function ISEquipWeaponAction:performWithAmputation(dcInst) +function ISEquipWeaponAction:performWithAmputation() TOC_DEBUG.print("running ISEquipWeaponAction performWithAmputation") local hand = nil @@ -208,7 +207,7 @@ function ISEquipWeaponAction:perform() local dcInst = DataController.GetInstance(self.character:getUsername()) -- Just check it any limb has been cut. If not, we can just return from here if dcInst:getIsAnyLimbCut() == true then - self:performWithAmputation(dcInst) + self:performWithAmputation() end end