Skip to content

Conversation

@saschagehlich
Copy link
Contributor

PathFinder:getPath() did not pass the _walkable variable to the Grid:isWalkableAt method. I came across this when I passed a function to PathFinder:setWalkable() which caused Grid:isWalkableAt() to break (since it tried to call walkable while it was nil)

Sorry for the messy diff, but I configured my editor to remove trailing spaces. You should do this too. 👍

@mokalux
Copy link

mokalux commented Dec 3, 2023

for future ref, this PR was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants