prettymuchbryce/easystarjs — pull request #21 by plancien (2014-10-23 17:43:27+00:00)
Title: Fix : should return empty path when start and end are the same tile

there was a bug when start and end tiles where the same : the returned path was something like :
[1, 1], [1, 2], [1, 1]
and my sprites were constantly moving from one tile to its neighbour.
In fact, a "return" was missing in the source.