From e834dd13956435bf1d4406b0c4d7d443a0839594 Mon Sep 17 00:00:00 2001 From: FullGas1 Date: Tue, 1 Apr 2025 03:04:26 +0200 Subject: [PATCH] debug --- CTLD.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CTLD.lua b/CTLD.lua index 8b2466b..f4a85db 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -5841,8 +5841,10 @@ function ctld.addTransportF10MenuOptions(_unitName) _vehicleCommandsPath, ctld.unloadTroops, { _unitName, false }) missionCommands.addCommandForGroup(_groupId, ctld.i18n_translate("Load / Extract Vehicles"), _vehicleCommandsPath, ctld.loadTroopsFromZone, { _unitName, false, "", true }) - + ctld.logDebug("PASS..1", ctld.p(_unitName)) + if ctld.vehicleCommandsPath[_unitName] == nil then + ctld.logDebug("PASS..2", ctld.p(_unitName)) ctld.vehicleCommandsPath[_unitName] = mist.utils.deepCopy(_vehicleCommandsPath) end