#CONTROLLABLE - Fix for double brackets

This commit is contained in:
Applevangelist 2025-10-08 16:01:21 +02:00
parent 9c148625e4
commit 405235a59d

View File

@ -4199,7 +4199,7 @@ function CONTROLLABLE:OptionAAAMinFiringHeightMeters(meters)
if DCSControllable then
local Controller = self:_GetController()
if Controller then
if self:IsGround()() then
if self:IsGround() then
self:SetOption(27, meters)
end
end
@ -4219,7 +4219,7 @@ function CONTROLLABLE:OptionAAAMaxFiringHeightMeters(meters)
if DCSControllable then
local Controller = self:_GetController()
if Controller then
if self:IsGround()() then
if self:IsGround() then
self:SetOption(29, meters)
end
end