Merge remote-tracking branch 'origin/master'

This commit is contained in:
smiki 2025-10-10 09:19:31 +02:00
commit 5138ced630

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