mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Tweaked delay between contact reports
This commit is contained in:
parent
baed36e0a6
commit
4771a98bb5
@ -269,11 +269,15 @@ do
|
||||
local newContactsReportString = TUM.wingmen.getContactsAsReportString(nil, true, true)
|
||||
TUM.radio.playForAll("pilotWingmanReportContactsNew", { TUM.wingmen.getFirstWingmanNumber(), newContactsReportString }, TUM.wingmen.getFirstWingmanCallsign(), false)
|
||||
newGroupsID = {}
|
||||
if ticksLeftBeforeContactReport < math.floor(CONTACT_REPORT_INTERVAL / 2) then
|
||||
ticksLeftBeforeContactReport = math.floor(CONTACT_REPORT_INTERVAL / 2)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
ticksLeftBeforeContactReport = ticksLeftBeforeContactReport - 1
|
||||
if ticksLeftBeforeContactReport > 0 then return false end
|
||||
ticksLeftBeforeContactReport = CONTACT_REPORT_INTERVAL
|
||||
|
||||
return TUM.wingmenTasking.commandReportContacts(nil, true, false)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user