This commit is contained in:
FullGas1 2025-03-25 15:05:28 +01:00
parent baf1231141
commit 8dcaa3e0bb

View File

@ -2045,7 +2045,7 @@ function ctld.repackVehicle(_params, t) -- scan rrs table 'repackRequestsStack'
end
ctld.repackRequestsStack[ii] = nil
end
--ctld.updateRepackMenu(playerUnitName) -- update the repack menu to process destroyed units
ctld.updateRepackMenu(playerUnitName) -- update the repack menu to process destroyed units
end
if ctld.enableRepackingVehicles == true then
return t + 3 -- reschedule the function in 3 seconds
@ -5817,8 +5817,6 @@ function ctld.addTransportF10MenuOptions(_unitName)
end
if ctld.enableRepackingVehicles then
ctld.logTrace("ctld.unitCanCarryVehicles %s", _unitName)
trigger.action.outText("5822: F10 menu if ctld.unitCanCarryVehicles".._unitName, 10)
ctld.updateRepackMenu(_unitName)
end
if ctld.enabledFOBBuilding and ctld.staticBugWorkaround == false then