Set life0 based on itself, rather than off of life

This commit is contained in:
ttrebuchon 2023-06-10 18:08:29 -04:00
parent 6d1030925c
commit 163273096c

View File

@ -980,7 +980,7 @@ function OPSGROUP:GetLifePoints(Element)
for _,element in pairs(self.elements) do
local l,l0=self:GetLifePoints(element)
life=life+l
life0=life+l0
life0=life0+l0
end
end