mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
f1496d52c0
@ -920,7 +920,7 @@ function UNIT:GetLife()
|
|||||||
|
|
||||||
local DCSUnit = self:GetDCSObject()
|
local DCSUnit = self:GetDCSObject()
|
||||||
|
|
||||||
if DCSUnit then
|
if DCSUnit and DCSUnit:isExist() then
|
||||||
local UnitLife = DCSUnit:getLife()
|
local UnitLife = DCSUnit:getLife()
|
||||||
return UnitLife
|
return UnitLife
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user