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