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
c608d00d15
commit
35f52d543a
9
CTLD.lua
9
CTLD.lua
@ -6096,7 +6096,6 @@ end
|
||||
|
||||
--******************************************************************************************************
|
||||
function ctld.autoUpdateRepackMenu(p, t) -- auto update repack menus for each transport unit
|
||||
--ctld.logTrace("FG_ ctld.autoUpdateRepackMenu.ctld.transportPilotNames = %s", ctld.p(mist.utils.tableShow(ctld.transportPilotNames)))
|
||||
if t == nil then t = timer.getTime() end
|
||||
if ctld.enableRepackingVehicles then
|
||||
for _, _unitName in pairs(ctld.transportPilotNames) do
|
||||
@ -6110,7 +6109,6 @@ function ctld.autoUpdateRepackMenu(p, t) -- auto update repack menus for each tr
|
||||
local _groupId = ctld.getGroupId(_unit)
|
||||
if _groupId then
|
||||
if ctld.addedTo[tostring(_groupId)] ~= nil then -- if groupMenu on loaded => add RepackMenus
|
||||
--ctld.logTrace("FG_ ctld.autoUpdateRepackMenu call ctld.updateRepackMenu for = %s", ctld.p(_unitName))
|
||||
ctld.updateRepackMenu(_unitName)
|
||||
end
|
||||
end
|
||||
@ -6133,11 +6131,8 @@ function ctld.addOtherF10MenuOptions()
|
||||
local status, error = pcall(function()
|
||||
-- now do any player controlled aircraft that ARENT transport units
|
||||
if ctld.enabledRadioBeaconDrop then
|
||||
-- get all BLUE players
|
||||
ctld.addRadioListCommand(2)
|
||||
|
||||
-- get all RED players
|
||||
ctld.addRadioListCommand(1)
|
||||
ctld.addRadioListCommand(2) -- get all BLUE players
|
||||
ctld.addRadioListCommand(1) -- get all RED players
|
||||
end
|
||||
|
||||
if ctld.JTAC_jtacStatusF10 then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user