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

@@ -179,10 +179,11 @@ end
--- Sets the menu structure of the Missions governed by the HQ command center.
-- @param #COMMANDCENTER self
function COMMANDCENTER:SetMenu()
self:F()
self.CommandCenterMenu = self.CommandCenterMenu or MENU_COALITION:New( self.CommandCenterCoalition, "HQ" )
for MissionID, Mission in pairs( self.Missions ) do
for MissionID, Mission in pairs( self:GetMissions() ) do
local Mission = Mission -- Tasking.Mission#MISSION
Mission:SetMenu()
end