mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Updated tracing with loading static and improved SCHEDULER
- Tracing is by default switched off when using Moose in static mode. - SCHEDULER is now correctly rescheduling when repeating the loop. - Modified the loaders, adding the default trace on in case of dynamic and off in case of static loading.
This commit is contained in:
@@ -155,13 +155,13 @@ function UNIT:FindByName( UnitName )
|
||||
end
|
||||
|
||||
function UNIT:GetDCSUnit()
|
||||
|
||||
local DCSUnit = Unit.getByName( self.UnitName )
|
||||
|
||||
|
||||
if DCSUnit then
|
||||
return DCSUnit
|
||||
end
|
||||
|
||||
self:E( "Unit " .. self.UnitName .. " not found!" )
|
||||
|
||||
return nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user