Merge branch 'FlightControl-Master:master' into master

This commit is contained in:
shaji-Dev 2025-10-09 13:30:04 +02:00 committed by GitHub
commit 3a10f0b946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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