This commit is contained in:
ZioPao
2023-11-13 17:30:14 +01:00
parent 3d6144cfcd
commit 3bc4ce471f
4 changed files with 21 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ function ISHealthPanel:doBodyPartContextMenu(bodyPart, x, y)
local playerNum = self.otherPlayer and self.otherPlayer:getPlayerNum() or self.character:getPlayerNum()
-- To not recreate it but reuse the one that has been created in the original method
local context = getPlayerContextMenu(playerNum)
local context = getPlayerContextMenu(playerNum)
local cutLimbHandler = CutLimbHandler:new(self, bodyPart)
cutLimbHandler:addToMenu(context)
end