mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #1953 from ttrebuchon/tt/fix-opsgroup-getlifepoints-typo
Set life0 based on itself, rather than off of life
This commit is contained in:
commit
3bbd55cfc2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user