mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
fixes
This commit is contained in:
parent
9eb4fc66b5
commit
c51a3d80ca
17
CTLD.lua
17
CTLD.lua
@ -6017,22 +6017,7 @@ function ctld.addTransportF10MenuOptions(_unitName)
|
||||
end
|
||||
|
||||
if ctld.enableRepackingVehicles then
|
||||
-- local repackableVehicles = ctld.getUnitsInRepackRadius(_unitName, ctld.maximumDistanceRepackableUnitsSearch)
|
||||
-- if repackableVehicles then
|
||||
-- local menuEntries = {}
|
||||
-- local RepackCommandsPath = mist.utils.deepCopy(_vehicleCommandsPath)
|
||||
-- RepackCommandsPath[#RepackCommandsPath+1] = ctld.i18n_translate("Repack Vehicles")
|
||||
|
||||
-- for _, _vehicle in pairs(repackableVehicles) do
|
||||
-- table.insert(menuEntries, { text = ctld.i18n_translate("repack ").._vehicle.unit,
|
||||
-- groupId = _groupId,
|
||||
-- subMenuPath = RepackCommandsPath,
|
||||
-- menuFunction = ctld.repackVehicleRequest,
|
||||
-- menuArgsTable = {_vehicle, _unitName} })
|
||||
-- end
|
||||
-- local RepackmenuPath = missionCommands.addSubMenuForGroup(_groupId, ctld.i18n_translate("Repack Vehicles"), _vehicleCommandsPath)
|
||||
-- ctld.buildPaginatedMenu(menuEntries)
|
||||
-- end
|
||||
ctld.updateRepackMenu(_unitName)
|
||||
end
|
||||
if ctld.enabledFOBBuilding and ctld.staticBugWorkaround == false then
|
||||
missionCommands.addCommandForGroup(_groupId, ctld.i18n_translate("Load / Unload FOB Crate"), _vehicleCommandsPath, ctld.loadUnloadFOBCrate, { _unitName, false })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user