Cleaning cleans wounds and visual too

This commit is contained in:
ZioPao
2023-12-30 00:09:54 -05:00
parent 4e4b771e41
commit f2007d56a9
5 changed files with 29 additions and 13 deletions

View File

@@ -22,7 +22,6 @@ function WoundCleaningHandler:new(panel, bodyPart, username)
o.limbName = CommonMethods.GetLimbNameFromBodyPart(bodyPart)
return o
end
@@ -72,7 +71,7 @@ end
function WoundCleaningHandler:perform(previousAction, itemType)
local item = self:getItemOfType(self.items.ITEMS, itemType)
previousAction = self:toPlayerInventory(item, previousAction)
local action = CleanWoundAction :new(self:getDoctor(), self:getPatient(), item, self.bodyPart)
local action = CleanWoundAction:new(self:getDoctor(), self:getPatient(), item, self.bodyPart)
ISTimedActionQueue.addAfter(previousAction, action)
end