Skip to content

bugfix #7

@ClubEdNZ

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!]

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