This commit is contained in:
Applevangelist
2025-10-08 16:01:32 +02:00
parent d0d22142b9
commit befb957b3f

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