mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix initial frequencies for support aircraft.
Vaicom (a mod that adds voice control for the communications menus) isn't able to follow the waypoint frequency change that normally sets the radio channel for the AWACS/tanker flights. Set the group's frequency correctly to start so it works. (cherry picked from commit 4abf80683773fa9d6668bb933754f02c5aded798)
This commit is contained in:
parent
2a3bf9821b
commit
df00059d3f
@ -76,6 +76,7 @@ class AirSupportConflictGenerator:
|
||||
speed=574,
|
||||
tacanchannel=str(tacan),
|
||||
)
|
||||
tanker_group.set_frequency(freq.mhz)
|
||||
|
||||
callsign = callsign_for_support_unit(tanker_group)
|
||||
tacan_callsign = {
|
||||
@ -118,6 +119,8 @@ class AirSupportConflictGenerator:
|
||||
frequency=freq.mhz,
|
||||
start_type=StartType.Warm,
|
||||
)
|
||||
awacs_flight.set_frequency(freq.mhz)
|
||||
|
||||
awacs_flight.points[0].tasks.append(SetInvisibleCommand(True))
|
||||
awacs_flight.points[0].tasks.append(SetImmortalCommand(True))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user