mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
commit
This commit is contained in:
parent
ca99c58f98
commit
6df583b9f1
6
CTLD.lua
6
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user