refactor: cleaning code

This commit is contained in:
ZioPao
2025-04-13 03:21:06 +02:00
parent 253c5717a9
commit d5fd735de8
3 changed files with 4 additions and 6 deletions

View File

@@ -23,6 +23,8 @@ end
local og_ISUnequipAction_complete = ISUnequipAction.complete
function ISUnequipAction:complete()
-- Horrendous workaround. For B42, as of now, it will basically happen two times, once with :perform and once with :complete. Shouldn't
-- matter for performance but it's really ugly.
local isProst = ProsthesisHandler.SearchAndSetupProsthesis(self.item, false)
local group
if isProst then
@@ -35,7 +37,4 @@ function ISUnequipAction:complete()
group:setMultiItem("TOC_ArmProst", true)
end
-- TODO RUN WORKAROUND FOR MULTI ITEM HERE!!!!
end