Tomcat and M2000 radios support

This commit is contained in:
Khopa
2020-09-06 15:43:44 +02:00
parent 14fe68eb54
commit 98d75bc721
3 changed files with 34 additions and 7 deletions

View File

@@ -326,7 +326,7 @@ class Operation:
last_channel = flight.num_radio_channels(radio_id)
channel_alloc = iter(range(first_channel, last_channel + 1))
flight.assign_channel(radio_id, next(channel_alloc),flight.departure.atc)
flight.assign_channel(radio_id, next(channel_alloc), flight.departure.atc)
# TODO: If there ever are multiple AWACS, limit to mission relevant.
for awacs in self.airsupportgen.air_support.awacs: