Resolved bug with DeployTask cargo menu.

Cargo main menu should contain the type of the cargo, or DCS world gets
confused... (menus are hashed on the same apparently).
This commit is contained in:
svenvandevelde 2016-02-21 19:42:42 +01:00
parent ecf80e5209
commit a3acab9288

View File

@ -107,7 +107,7 @@ trace.f( self.ClassName )
if not Client._Menus[Cargo.CargoType].DeployMenu then if not Client._Menus[Cargo.CargoType].DeployMenu then
Client._Menus[Cargo.CargoType].DeployMenu = missionCommands.addSubMenuForGroup( Client._Menus[Cargo.CargoType].DeployMenu = missionCommands.addSubMenuForGroup(
ClientGroupID, ClientGroupID,
self.TEXT[1], self.TEXT[1] .. " " .. Cargo.CargoType,
nil nil
) )
trace.i( self.ClassName, 'Added DeployMenu ' .. self.TEXT[1] ) trace.i( self.ClassName, 'Added DeployMenu ' .. self.TEXT[1] )