mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Updated Menu Triggering
This commit is contained in:
parent
51d8e2b7d8
commit
b65bdad54f
@ -293,6 +293,8 @@ function MISSION:AddTask( Task )
|
|||||||
|
|
||||||
self.Tasks[TaskName] = Task
|
self.Tasks[TaskName] = Task
|
||||||
|
|
||||||
|
self:GetCommandCenter():SetMenu()
|
||||||
|
|
||||||
return Task
|
return Task
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -315,6 +317,8 @@ function MISSION:RemoveTask( Task )
|
|||||||
|
|
||||||
collectgarbage()
|
collectgarbage()
|
||||||
|
|
||||||
|
self:GetCommandCenter():SetMenu()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -190,6 +190,6 @@ Mission:RemoveTask(SEADTask)
|
|||||||
SEADTask = nil
|
SEADTask = nil
|
||||||
SEADProcess = nil
|
SEADProcess = nil
|
||||||
|
|
||||||
HQ:SetMenu()
|
|
||||||
|
|
||||||
collectgarbage()
|
collectgarbage()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user