Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Applevangelist 2023-03-23 08:47:34 +01:00
commit f1496d52c0

View File

@ -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