mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-23 02:08:17 +00:00
@@ -702,11 +702,13 @@ end
|
|||||||
-- @return #TASK
|
-- @return #TASK
|
||||||
function TASK:SetMenuForGroup( TaskGroup, MenuTime )
|
function TASK:SetMenuForGroup( TaskGroup, MenuTime )
|
||||||
|
|
||||||
|
if self:IsStatePlanned() or self:IsStateAssigned() then
|
||||||
self:SetPlannedMenuForGroup( TaskGroup, MenuTime )
|
self:SetPlannedMenuForGroup( TaskGroup, MenuTime )
|
||||||
if self:IsGroupAssigned( TaskGroup ) then
|
if self:IsGroupAssigned( TaskGroup ) then
|
||||||
self:SetAssignedMenuForGroup( TaskGroup, MenuTime )
|
self:SetAssignedMenuForGroup( TaskGroup, MenuTime )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
--- Set the planned menu option of the @{Task}.
|
--- Set the planned menu option of the @{Task}.
|
||||||
|
|||||||
Reference in New Issue
Block a user