This commit is contained in:
FlightControl_Master
2017-08-13 17:04:04 +02:00
parent 4f2afa29fa
commit d558c5be21
4 changed files with 98 additions and 52 deletions

View File

@@ -379,7 +379,7 @@ function CONTROLLABLE:SetTask( DCSTask, WaitTime )
end
if not WaitTime or WaitTime == 0 then
SetTask( DCSTask )
self:SetTask( DCSTask )
else
self.TaskScheduler:Schedule( self, SetTask, { DCSTask }, WaitTime )
end