From 158ffde7807179cf927ebc7bf5920f8758ceffd4 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Thu, 25 May 2023 08:58:21 +0200 Subject: [PATCH] #CONTROLLER * Fix for Link4 --- Moose Development/Moose/Wrapper/Controllable.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Wrapper/Controllable.lua b/Moose Development/Moose/Wrapper/Controllable.lua index c6117c328..a609f5a10 100644 --- a/Moose Development/Moose/Wrapper/Controllable.lua +++ b/Moose Development/Moose/Wrapper/Controllable.lua @@ -691,6 +691,7 @@ function CONTROLLABLE:CommandActivateACLS( UnitID, Name, Delay ) SCHEDULER:New( nil, self.CommandActivateACLS, { self, UnitID, Name }, Delay ) else local controller = self:_GetController() + self:I({controller}) controller:setCommand( CommandActivateACLS ) end @@ -763,7 +764,7 @@ function CONTROLLABLE:CommandActivateLink4(Frequency, UnitID, Callsign, Delay) local CommandActivateLink4= { id = "ActivateLink4", params= { - ["frequency "] = freq*1000000, + ["frequency"] = freq*1000000, ["unitId"] = UnitID or self:GetID(), ["name"] = Callsign or "LNK", }