Skip to content

bugfix #7

Description

@ClubEdNZ

Sorry I can't tell you how to reliably replicate it, because I had an intermittent issue, & only sometimes when I did something wrong in my level designer, but adding a check at the end of fetch_path fixed it:

the final return in fetch path I altered to check that the from_id was found at all:
return pathfinder_cache[from_id] and pathfinder_cache[from_id][to_id]

[thanks for defgraph, btw, I love it!]

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions