mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
parent
6a04f83280
commit
38f5fd8249
@ -3109,13 +3109,13 @@ do -- SET_STATIC
|
|||||||
self:F3( { Event } )
|
self:F3( { Event } )
|
||||||
|
|
||||||
if Event.IniObjectCategory == Object.Category.STATIC then
|
if Event.IniObjectCategory == Object.Category.STATIC then
|
||||||
if not self.Database[Event.IniDCSStaticName] then
|
if not self.Database[Event.IniDCSUnitName] then
|
||||||
self.Database[Event.IniDCSStaticName] = STATIC:Register( Event.IniDCSStaticName )
|
self.Database[Event.IniDCSUnitName] = STATIC:Register( Event.IniDCSUnitName )
|
||||||
self:T3( self.Database[Event.IniDCSStaticName] )
|
self:T3( self.Database[Event.IniDCSUnitName] )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return Event.IniDCSStaticName, self.Database[Event.IniDCSStaticName]
|
return Event.IniDCSUnitName, self.Database[Event.IniDCSUnitName]
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Handles the Database to check on any event that Object exists in the Database.
|
--- Handles the Database to check on any event that Object exists in the Database.
|
||||||
@ -3125,10 +3125,10 @@ do -- SET_STATIC
|
|||||||
-- @return #string The name of the STATIC
|
-- @return #string The name of the STATIC
|
||||||
-- @return #table The STATIC
|
-- @return #table The STATIC
|
||||||
function SET_STATIC:FindInDatabase( Event )
|
function SET_STATIC:FindInDatabase( Event )
|
||||||
self:F2( { Event.IniDCSStaticName, self.Set[Event.IniDCSStaticName], Event } )
|
self:F2( { Event.IniDCSUnitName, self.Set[Event.IniDCSUnitName], Event } )
|
||||||
|
|
||||||
|
|
||||||
return Event.IniDCSStaticName, self.Set[Event.IniDCSStaticName]
|
return Event.IniDCSUnitName, self.Set[Event.IniDCSUnitName]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user