MP bugfix

This commit is contained in:
FlightControl
2016-12-15 10:14:53 +01:00
parent b65bdad54f
commit 80f7269651
3 changed files with 6 additions and 2 deletions

View File

@@ -521,7 +521,9 @@ end
--- Set the menu options of the @{Task} to all the groups in the SetGroup.
-- @param #TASK_BASE self
function TASK_BASE:SetMenu()
self:F()
self.SetGroup:Flush()
for TaskGroupID, TaskGroup in pairs( self.SetGroup:GetSet() ) do
if self:IsStatePlanned() or self:IsStateReplanned() then
self:SetMenuForGroup( TaskGroup )