Pushing a fix for shadowze

This commit is contained in:
FlightControl 2018-10-04 21:37:19 +02:00
parent 1ae062dc6e
commit c4376f081b

View File

@ -2431,7 +2431,12 @@ do -- SET_UNIT
-- @return #SET_UNIT self
function SET_UNIT:IsIncludeObject( MUnit )
self:F2( MUnit )
local MUnitInclude = true
local MUnitInclude = false
if MUnit:IsAlive() ~= nil then
MUnitInclude = true
if self.Filter.Active ~= nil then
local MUnitActive = false
@ -2518,6 +2523,7 @@ do -- SET_UNIT
end
MUnitInclude = MUnitInclude and MUnitSEAD
end
end
self:T2( MUnitInclude )
return MUnitInclude