mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update FlightGroup.lua
Fixed TACAN
This commit is contained in:
@@ -3542,12 +3542,12 @@ function FLIGHTGROUP:SwitchTACANOn(TACANChannel, TACANMorse)
|
|||||||
|
|
||||||
if self:IsAlive() then
|
if self:IsAlive() then
|
||||||
|
|
||||||
local unit=self.group:GetUnit(1)
|
local unit=self.group:GetUnit(1) --Wrapper.Unit#UNIT
|
||||||
|
|
||||||
if unit and unit:IsAlive() then
|
if unit and unit:IsAlive() then
|
||||||
|
|
||||||
local Type=5
|
local Type=4
|
||||||
local System=4
|
local System=5
|
||||||
local UnitID=unit:GetID()
|
local UnitID=unit:GetID()
|
||||||
local TACANMode="Y"
|
local TACANMode="Y"
|
||||||
local Frequency=UTILS.TACANToFrequency(TACANChannel, TACANMode)
|
local Frequency=UTILS.TACANToFrequency(TACANChannel, TACANMode)
|
||||||
|
|||||||
Reference in New Issue
Block a user