This commit is contained in:
Sven Van de Velde
2016-08-05 06:50:30 +02:00
parent 75ea07fea0
commit e1610330f4
4 changed files with 205 additions and 456 deletions

View File

@@ -187,22 +187,6 @@ function UNIT:IsActive()
return nil
end
--- Destroys the @{Unit}.
-- @param Unit#UNIT self
-- @return #nil The DCS Unit is not existing or alive.
function UNIT:Destroy()
self:F2( self.UnitName )
local DCSUnit = self:GetDCSObject()
if DCSUnit then
DCSUnit:destroy()
end
return nil
end
--- Returns the Unit's callsign - the localized string.