From d125cdbe8095a925140530f5f890446ca04ae317 Mon Sep 17 00:00:00 2001 From: FullGas1 Date: Tue, 25 Mar 2025 15:14:03 +0100 Subject: [PATCH] fixes --- CTLD.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CTLD.lua b/CTLD.lua index 50ded27..b619f76 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -5999,10 +5999,10 @@ function ctld.updateRepackMenu(_playerUnitName) local repackableVehicles = ctld.getUnitsInRepackRadius(_playerUnitName, ctld.maximumDistanceRepackableUnitsSearch) if repackableVehicles then -ctld.logTrace("FG_ ctld.updateRepackMenu.ctld.vehicleCommandsPath = %s", ctld.p(ctld.vehicleCommandsPath)) + --ctld.logTrace("FG_ ctld.updateRepackMenu.ctld.vehicleCommandsPath = %s", ctld.p(ctld.vehicleCommandsPath)) local RepackCommandsPath = mist.utils.deepCopy(ctld.vehicleCommandsPath) RepackCommandsPath[#RepackCommandsPath + 1] = ctld.i18n_translate("Repack Vehicles") -ctld.logTrace("FG_ ctld.updateRepackMenu.RepackCommandsPath = %s", ctld.p(RepackCommandsPath)) + --ctld.logTrace("FG_ ctld.updateRepackMenu.RepackCommandsPath = %s", ctld.p(RepackCommandsPath)) missionCommands.removeItemForGroup(1, RepackCommandsPath) -- remove the old repack menu local RepackmenuPath = missionCommands.addSubMenuForGroup(_groupId,ctld.i18n_translate("Repack Vehicles"), ctld.vehicleCommandsPath) local menuEntries = {}