mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 06:03:27 +02:00
Version 2.4.1 - performance improvements, small bug fixes, graphs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user