This commit is contained in:
FlightControl_Master
2017-09-29 07:03:50 +02:00
parent 57eeefcf06
commit b84d08f052
4 changed files with 27068 additions and 101 deletions

View File

@@ -2502,7 +2502,7 @@ do -- SET_STATIC
function SET_STATIC:AddInDatabase( Event )
self:F3( { Event } )
if Event.IniObjectCategory == 1 then
if Event.IniObjectCategory == Object.Category.STATIC then
if not self.Database[Event.IniDCSStaticName] then
self.Database[Event.IniDCSStaticName] = STATIC:Register( Event.IniDCSStaticName )
self:T3( self.Database[Event.IniDCSStaticName] )