mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Updates
This commit is contained in:
@@ -1364,7 +1364,7 @@ do -- DETECTION_BASE
|
|||||||
|
|
||||||
--- Gets a detected unit type name, taking into account the detection results.
|
--- Gets a detected unit type name, taking into account the detection results.
|
||||||
-- @param #DETECTION_BASE self
|
-- @param #DETECTION_BASE self
|
||||||
-- @param #Wrapper.Unit#UNIT DetectedUnit
|
-- @param Wrapper.Unit#UNIT DetectedUnit
|
||||||
-- @return #string The type name
|
-- @return #string The type name
|
||||||
function DETECTION_BASE:GetDetectedUnitTypeName( DetectedUnit )
|
function DETECTION_BASE:GetDetectedUnitTypeName( DetectedUnit )
|
||||||
--self:F2( ObjectName )
|
--self:F2( ObjectName )
|
||||||
|
|||||||
@@ -83,15 +83,8 @@ end
|
|||||||
function IDENTIFIABLE:GetName()
|
function IDENTIFIABLE:GetName()
|
||||||
self:F2( self.IdentifiableName )
|
self:F2( self.IdentifiableName )
|
||||||
|
|
||||||
local DCSIdentifiable = self:GetDCSObject()
|
local IdentifiableName = self.IdentifiableName
|
||||||
|
return IdentifiableName
|
||||||
if DCSIdentifiable then
|
|
||||||
local IdentifiableName = self.IdentifiableName
|
|
||||||
return IdentifiableName
|
|
||||||
end
|
|
||||||
|
|
||||||
self:E( self.ClassName .. " " .. self.IdentifiableName .. " not found!" )
|
|
||||||
return nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user