mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Updates
This commit is contained in:
parent
9dcda37703
commit
608293f1cb
@ -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 )
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user