further event related stuff not working any more

This commit is contained in:
Applevangelist
2022-05-04 18:09:56 +02:00
parent 40bb181c78
commit 8a8b806362
2 changed files with 8 additions and 2 deletions

View File

@@ -1996,7 +1996,9 @@ end
-- @return #boolean true if the point is within the zone.
function ZONE_POLYGON_BASE:IsVec3InZone( Vec3 )
self:F2( Vec3 )
if not Vec3 then return false end
local InZone = self:IsVec2InZone( { x = Vec3.x, y = Vec3.z } )
return InZone