From a58efad9859a954707e485bccb2591d9683b2ed3 Mon Sep 17 00:00:00 2001 From: FullGas1 Date: Sun, 23 Mar 2025 00:09:30 +0100 Subject: [PATCH] fixes --- CTLD.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CTLD.lua b/CTLD.lua index bce497c..38afbfb 100644 --- a/CTLD.lua +++ b/CTLD.lua @@ -2031,6 +2031,7 @@ function ctld.isRepackableUnit(_unitId) end -- *************************************************************** function ctld.repackVehicleRequest(_params) -- update rrs table 'repackRequestsStack' with the request + --[[ local repackableUnit = _params[1] local PlayerTransportUnitName = _params[2] @@ -2040,6 +2041,7 @@ local repackableUnit = _params[1] local refCountry = PlayerTransportUnit:getCountry() ]]-- ctld.repackRequestsStack[#ctld.repackRequestsStack+1] = _params + ctld.logTrace("FG_ ctld.repackVehicleRequest = %s", ctld.p(mist.utils.tableShow(ctld.repackRequestsStack))) end -- *************************************************************** function ctld.repackVehicle(_params,t) -- scan rrs table 'repackRequestsStack' to process each request @@ -6135,7 +6137,7 @@ function ctld.buildPaginatedMenu(_menuEntries) local nextSubMenuPath = "" local itemNbSubmenu = 0 for i, menu in ipairs(_menuEntries) do - ctld.logTrace("FG ctld.buildPaginatedMenu. [%s] mist.utils.tableShow(menu) = [%s]", i, mist.utils.tableShow(menu)) + --ctld.logTrace("FG ctld.buildPaginatedMenu. [%s] mist.utils.tableShow(menu) = [%s]", i, mist.utils.tableShow(menu)) if nextSubMenuPath ~= "" and menu.subMenuPath ~= nextSubMenuPath then menu.subMenuPath = nextSubMenuPath end