From 3953811fb0e322519fde9c33f87810e6adfcc03a Mon Sep 17 00:00:00 2001 From: zhexu14 <64713351+zhexu14@users.noreply.github.com> Date: Wed, 26 Aug 2026 22:45:53 +1000 Subject: [PATCH] Update logic for setting system key in ActivateBeaconCommand task to handle Y TACAN channel --- dcs/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/task.py b/dcs/task.py index 8ba14a8e..6d79b9a3 100644 --- a/dcs/task.py +++ b/dcs/task.py @@ -1209,7 +1209,7 @@ def __init__(self, channel=10, modechannel="X", callsign="TKR", bearing=True, un "unitId": unit_id, "modeChannel": modechannel, "bearing": bearing, - "system": 4 if aa else 3, + "system": 5 if modechannel == "Y" else 4 if aa else 3, } } }