Fixed issue with menu system Planned Tasks

There was a problem that when multiiple groups were part of the attack
set, then the menus for planned tasks were not correctly generated.
This commit is contained in:
FlightControl_Master
2017-07-25 16:29:57 +02:00
parent c3ee9306f3
commit 713e741299
3 changed files with 20 additions and 17 deletions

View File

@@ -809,7 +809,7 @@ do
function MENU_GROUP:RemoveSubMenus( MenuTime )
--self:F2( { self.MenuPath, MenuTime, self.MenuTime } )
--self:T( { "Removing Group SubMenus:", self.MenuGroup:GetName(), self.MenuPath } )
self:T( { "Removing Group SubMenus:", MenuTime, self.MenuGroup:GetName(), self.MenuPath } )
for MenuText, Menu in pairs( self.Menus ) do
Menu:Remove( MenuTime )
end