Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Applevangelist
2023-02-23 10:31:59 +01:00
3 changed files with 11 additions and 11 deletions

View File

@@ -2040,9 +2040,9 @@ function UTILS.GenerateUHFrequencies()
local _start = 220000000 local _start = 220000000
while _start < 399000000 do while _start < 399000000 do
if _start ~= 243000000 then if _start ~= 243000000 then
table.insert(FreeUHFFrequencies, _start) table.insert(FreeUHFFrequencies, _start)
end end
_start = _start + 500000 _start = _start + 500000
end end

View File

@@ -703,11 +703,11 @@ function POSITIONABLE:IsSubmarine()
if DCSUnit then if DCSUnit then
local UnitDescriptor = DCSUnit:getDesc() local UnitDescriptor = DCSUnit:getDesc()
if UnitDescriptor.attributes["Submarines"] == true then if UnitDescriptor.attributes["Submarines"] == true then
return true return true
else else
return false return false
end end
end end
self:E( { "Cannot check IsSubmarine", Positionable = self, Alive = self:IsAlive() } ) self:E( { "Cannot check IsSubmarine", Positionable = self, Alive = self:IsAlive() } )

View File

@@ -89,9 +89,9 @@
-- --
-- @field #UNIT -- @field #UNIT
UNIT = { UNIT = {
ClassName="UNIT", ClassName="UNIT",
UnitName=nil, UnitName=nil,
GroupName=nil, GroupName=nil,
} }