Removed debug prints

This commit is contained in:
OTCv8
2020-01-23 08:18:57 +01:00
parent 440bf56060
commit 48d7eb810d
4 changed files with 11 additions and 9 deletions

View File

@@ -142,7 +142,6 @@ context.findPath = function(startPos, destPos, maxDist, params)
if math.abs(x) >= marginMin or math.abs(y) >= marginMin then
local dest = (destPos.x + x) .. "," .. (destPos.y + y) .. "," .. destPos.z
local node = paths[dest]
print(node)
if node and (not bestCandidate or bestCandidate[1] > node[1]) then
bestCandidate = node
bestCandidatePos = dest