mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
fixes
This commit is contained in:
parent
4146408fe8
commit
907ec69265
2
CTLD.lua
2
CTLD.lua
@ -7319,7 +7319,6 @@ function ctld.addReconRadioCommand(_side) -- _side = 1 or 2 (red or blue)
|
||||
if ctld.reconAutoRefreshLosTargetMarks then
|
||||
local c1 = missionCommands.addCommandForGroup( _groupId, ctld.i18n_translate("STOP autoRefresh targets in LOS"), RECONpath,
|
||||
ctld.reconStopAutorefreshTargetsInLosOnF10Map, _groupId, _playerUnit)
|
||||
trigger.action.outText(tostring(_groupId).." - " .. mist.utils.tableShow(c1), 20)
|
||||
else
|
||||
local c2 = missionCommands.addCommandForGroup( _groupId, ctld.i18n_translate("START autoRefresh targets in LOS"), RECONpath,
|
||||
ctld.reconStartAutorefreshTargetsInLosOnF10Map,
|
||||
@ -7329,7 +7328,6 @@ trigger.action.outText(tostring(_groupId).." - " .. mist.utils.tableShow(c1), 20
|
||||
ctld.reconLosMarkRadius,
|
||||
true
|
||||
)
|
||||
trigger.action.outText(tostring(_groupId).." - " .. mist.utils.tableShow(c2), 20)
|
||||
end
|
||||
ctld.reconRadioAdded[tostring(_groupId)] = timer.getTime() --fetch the time to check for a regular refresh
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user