mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Updated defects in dispatcher
This commit is contained in:
@@ -340,7 +340,7 @@ function CONTROLLABLE:SetTask( DCSTask, WaitTime )
|
||||
-- Therefore we schedule the functions to set the mission and options for the Controllable.
|
||||
-- Controller.setTask( Controller, DCSTask )
|
||||
|
||||
if not WaitTime then
|
||||
if not WaitTime or WaitTime == 0 then
|
||||
Controller:setTask( DCSTask )
|
||||
else
|
||||
self.TaskScheduler:Schedule( Controller, Controller.setTask, { DCSTask }, WaitTime )
|
||||
|
||||
Reference in New Issue
Block a user