Updated Menu Triggering

This commit is contained in:
FlightControl 2016-12-15 10:07:07 +01:00
parent 51d8e2b7d8
commit b65bdad54f
2 changed files with 5 additions and 1 deletions

View File

@ -293,6 +293,8 @@ function MISSION:AddTask( Task )
self.Tasks[TaskName] = Task
self:GetCommandCenter():SetMenu()
return Task
end
@ -315,6 +317,8 @@ function MISSION:RemoveTask( Task )
collectgarbage()
self:GetCommandCenter():SetMenu()
return nil
end

View File

@ -190,6 +190,6 @@ Mission:RemoveTask(SEADTask)
SEADTask = nil
SEADProcess = nil
HQ:SetMenu()
collectgarbage()