- Small stuff
This commit is contained in:
Frank
2023-08-04 00:08:16 +02:00
parent e76c26ff59
commit 0ace200e5a
3 changed files with 4 additions and 3 deletions

View File

@@ -740,7 +740,7 @@ function FLIGHTCONTROL:AddHoldingPattern(ArrivalZone, Heading, Length, Flightlev
-- Get ZONE if passed as string.
if type(ArrivalZone)=="string" then
ArrivalZone=ZONE:New(ArrivalZone)
ArrivalZone=ZONE:FindByName(ArrivalZone)
end
-- Increase counter.