This commit is contained in:
FullGas1 2025-03-23 22:25:28 +01:00
parent 8f2a335609
commit 9eb4fc66b5

View File

@ -6185,7 +6185,7 @@ function ctld.updateRepackMenu(_playerUnitName)
local repackableVehicles = ctld.getUnitsInRepackRadius(_playerUnitName, ctld.maximumDistanceRepackableUnitsSearch)
if repackableVehicles then
missionCommands.removeItemForGroup(1, ctld.vehicleCommandsPath)
missionCommands.removeItemForGroup(1, ctld.vehicleCommandsPath) -- remove the old menu
local RepackmenuPath = missionCommands.addSubMenuForGroup(_groupId, ctld.i18n_translate("Repack Vehicles"), ctld.vehicleCommandsPath)
local menuEntries = {}