Another nil check...

This commit is contained in:
Applevangelist 2022-05-04 13:29:40 +02:00
parent 8099847e29
commit 40bb181c78

View File

@ -174,6 +174,7 @@ end
-- @param DCS#Vec3 Vec3 The point to test.
-- @return #boolean true if the Vec3 is within the zone.
function ZONE_BASE:IsVec3InZone( Vec3 )
if not Vec3 then return false end
local InZone = self:IsVec2InZone( { x = Vec3.x, y = Vec3.z } )
return InZone
end