This commit is contained in:
FlightControl_Master 2017-08-15 20:39:32 +02:00
parent 9dcda37703
commit 608293f1cb
2 changed files with 3 additions and 10 deletions

View File

@ -1364,7 +1364,7 @@ do -- DETECTION_BASE
--- Gets a detected unit type name, taking into account the detection results.
-- @param #DETECTION_BASE self
-- @param #Wrapper.Unit#UNIT DetectedUnit
-- @param Wrapper.Unit#UNIT DetectedUnit
-- @return #string The type name
function DETECTION_BASE:GetDetectedUnitTypeName( DetectedUnit )
--self:F2( ObjectName )

View File

@ -83,15 +83,8 @@ end
function IDENTIFIABLE:GetName()
self:F2( self.IdentifiableName )
local DCSIdentifiable = self:GetDCSObject()
if DCSIdentifiable then
local IdentifiableName = self.IdentifiableName
return IdentifiableName
end
self:E( self.ClassName .. " " .. self.IdentifiableName .. " not found!" )
return nil
local IdentifiableName = self.IdentifiableName
return IdentifiableName
end