nil check added

This commit is contained in:
Applevangelist 2023-09-27 18:08:02 +02:00
parent 912c162eee
commit 55fb8f2064

View File

@ -190,6 +190,7 @@ end
-- @param Core.Point#COORDINATE Coordinate The coordinate to test.
-- @return #boolean true if the coordinate is within the zone.
function ZONE_BASE:IsCoordinateInZone( Coordinate )
if not Coordinate then return false end
local InZone = self:IsVec2InZone( Coordinate:GetVec2() )
return InZone
end