From 6df583b9f1e596d9a397804a72d6d919f345573c Mon Sep 17 00:00:00 2001 From: FullGas1 <51051389+FullGas1@users.noreply.github.com> Date: Sun, 30 Mar 2025 12:23:40 +0200 Subject: [PATCH] commit --- CTLD.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CTLD.lua b/CTLD.lua index 9654adb..220740b 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -5831,7 +5831,7 @@ function ctld.addTransportF10MenuOptions(_unitName) end if ctld.enableRepackingVehicles then - --ctld.updateRepackMenu(_unitName) + ctld.updateRepackMenu(_unitName) end if ctld.enabledFOBBuilding and ctld.staticBugWorkaround == false then missionCommands.addCommandForGroup(_groupId, @@ -6059,7 +6059,7 @@ function ctld.autoUpdateRepackMenu(p, t) -- auto update repack menus for each tr if _groupId then if ctld.addedTo[tostring(_groupId)] ~= nil then ctld.logTrace("FG_ ctld.autoUpdateRepackMenu call ctld.updateRepackMenu ofr = %s", ctld.p(_unitName)) - --ctld.updateRepackMenu(_unitName) + ctld.updateRepackMenu(_unitName) end end end @@ -8096,7 +8096,7 @@ function ctld.initialize() timer.scheduleFunction(ctld.checkHoverStatus, nil, timer.getTime() + 1) end if ctld.enableRepackingVehicles == true then - --timer.scheduleFunction(ctld.autoUpdateRepackMenu, nil, timer.getTime() + 3) + timer.scheduleFunction(ctld.autoUpdateRepackMenu, nil, timer.getTime() + 3) timer.scheduleFunction(ctld.repackVehicle, nil, timer.getTime() + 1) end end, nil, timer.getTime() + 1)