Update Astar.lua

This commit is contained in:
Frank
2024-04-20 14:34:15 +02:00
parent 56e751193a
commit 3dbafd7a19

View File

@@ -1213,7 +1213,7 @@ function ASTAR:_LowestFscore(set, f_score)
end
-- Debug info.
self:T(self.lid..string.format("Lowest Fscore=%.1f, Node=%d", lowest, bestNode))
self:T(self.lid..string.format("Lowest Fscore=%.1f, Node=%s", lowest, tostring(bestNode)))
return self.nodes[bestNode]
end