From 9591c6217525b43b8f7dc37c3fbe06726a4ed935 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Fri, 2 Jul 2021 20:22:43 +0200 Subject: [PATCH] corrected autovalue for frequency - thanks to shadowze --- Moose Development/Moose/Ops/CSAR.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Ops/CSAR.lua b/Moose Development/Moose/Ops/CSAR.lua index 39e6f0654..15318de07 100644 --- a/Moose Development/Moose/Ops/CSAR.lua +++ b/Moose Development/Moose/Ops/CSAR.lua @@ -605,7 +605,7 @@ function CSAR:_AddCsar(_coalition , _country, _point, _typeName, _unitName, _pla if not _freq then _freq = self:_GenerateADFFrequency() - if not _freq then _freq = "333250" end --noob catch + if not _freq then _freq = 333250 end --noob catch end local _spawnedGroup, _alias = self:_SpawnPilotInField(_country,_point,_freq) @@ -818,7 +818,7 @@ function CSAR:_EventHandler(EventData) -- all checks passed, get going. local _freq = self:_GenerateADFFrequency() - self:_AddCsar(_coalition, _unit:GetCountry(), _unit:GetCoordinate() , _unit:GetTypeName(), _unit:GetName(), _event.IniPlayerName, _freq, false, 0) + self:_AddCsar(_coalition, _unit:GetCountry(), _unit:GetCoordinate() , _unit:GetTypeName(), _unit:GetName(), _event.IniPlayerName, _freq, false, "none") return true