This commit is contained in:
FlightControl
2016-11-27 20:06:49 +01:00
parent 28802ba276
commit 68e3472c49
7 changed files with 26 additions and 26 deletions

View File

@@ -111,6 +111,17 @@ function COMMANDCENTER:RemoveMission( Mission )
return Mission
end
--- Sets the menu structure of the Missions governed by the HQ command center.
-- @param #COMMANDCENTER self
function COMMANDCENTER:SetMenu()
for MissionID, Mission in pairs( self.Missions ) do
local Mission = Mission -- Tasking.Mission#MISSION
Mission:SetMenu()
end
end
--- Checks of the COMMANDCENTER has a GROUP.
-- @param #COMMANDCENTER self
-- @param Wrapper.Group#GROUP