From 1b169f007c317a2250a62681de846a61bcddc4e7 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Fri, 15 Aug 2025 14:26:41 +0200 Subject: [PATCH] xx --- Moose Development/Moose/Ops/AirWing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/AirWing.lua b/Moose Development/Moose/Ops/AirWing.lua index a4b1b58e5..1e11793e3 100644 --- a/Moose Development/Moose/Ops/AirWing.lua +++ b/Moose Development/Moose/Ops/AirWing.lua @@ -845,7 +845,7 @@ function AIRWING:NewPatrolPoint(Type, Coordinate, Altitude, Speed, Heading, LegL local patrolpoint={} --#AIRWING.PatrolData patrolpoint.type=Type or "Unknown" patrolpoint.coord=Coordinate or self:GetCoordinate():Translate(UTILS.NMToMeters(math.random(10, 15)), math.random(360)) - if Coordinate:IsInstanceOf("ZONE_BASE") then + if Coordinate and Coordinate:IsInstanceOf("ZONE_BASE") then patrolpoint.IsZonePoint = true patrolpoint.patrolzone = Coordinate patrolpoint.coord = patrolpoint.patrolzone:GetCoordinate()