ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
208 stars 26 forks source link

Pathfinding algorithm bug #120

Closed Suiranoil closed 4 years ago

Suiranoil commented 4 years ago

Pathfinding algorithm creates wrong path after first run. If it hits node at Nodes[0] it stops calculating path. Better explanation at screenshots.

Pathmap(Node at Nodes[0] marked with arrow): image First run: image Next runs: image

ItsDeltin commented 4 years ago

Looks like a pathfinding variable isn't getting reset correctly after running the algorithm.

ItsDeltin commented 4 years ago

v1.2.2 fixes this, it is at the bottom of the 1.2 release.