digitsensitive / astar-typescript

A* search algorithm in TypeScript
MIT License
87 stars 18 forks source link

only works once #2

Closed krazyjakee closed 4 years ago

krazyjakee commented 4 years ago

On first use, it seems fine. On second, it always says Path could not be created..

Here is an example of the bug in action: https://repl.it/@krazyjakee/StrangeShorttermSales

digitsensitive commented 4 years ago

Hello @krazyjakee Thank you for your issue. Will have a look at it asap.

digitsensitive commented 4 years ago

@krazyjakee Finally fixed. Thank you for reporting

https://github.com/digitsensitive/astar-typescript/pull/3