Fix : Carrier TACAN was wrongfully set up as an A/A TACAN

This commit is contained in:
Khopa 2020-06-24 23:22:07 +02:00
parent 0641907ea0
commit 1c1936d8f8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
# 2.0 RC 9
## Fixed issues :
* **[Mission Generator]** Carrier TACAN was wrongfully set up as an A/A TACAN
# 2.0 RC 8
## Fixed issues :

View File

@ -130,7 +130,7 @@ class GroundObjectsGenerator:
# Set UP TACAN and ICLS
modeChannel = "X" if not cp.tacanY else "Y"
sg.points[0].tasks.append(ActivateBeaconCommand(channel=cp.tacanN, modechannel=modeChannel, callsign=cp.tacanI, unit_id=sg.units[0].id))
sg.points[0].tasks.append(ActivateBeaconCommand(channel=cp.tacanN, modechannel=modeChannel, callsign=cp.tacanI, unit_id=sg.units[0].id, aa=False))
if ground_object.dcs_identifier == "CARRIER" and hasattr(cp, "icls"):
sg.points[0].tasks.append(ActivateICLSCommand(cp.icls, unit_id=sg.units[0].id))