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:
FlightControl
2016-06-15 05:54:21 +02:00
parent 37510ab647
commit 5bd0595b35
28 changed files with 470 additions and 331 deletions

View File

@@ -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