Version 2.4.1 - performance improvements, small bug fixes, graphs

This commit is contained in:
OTCv8
2020-06-22 02:07:53 +02:00
parent 82018bf3c9
commit 1729e7d635
11 changed files with 48 additions and 25 deletions

View File

@@ -122,7 +122,7 @@ context.findPath = function(startPos, destPos, maxDist, params)
marginMin
marginMax
]]--
if startPos.z ~= destPos.z then
if not destPos or startPos.z ~= destPos.z then
return
end
if type(maxDist) ~= 'number' then