mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Merge pull request #4958 from samme/fix/path-follower-complete
Fix PathFollower always at end of path
This commit is contained in:
commit
599aa277ce
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ var PathFollower = {
|
|||
var tweenData = tween.data[0];
|
||||
var pathVector = this.pathVector;
|
||||
|
||||
if (tweenData.state !== TWEEN_CONST.COMPLETE)
|
||||
if (tweenData.state === TWEEN_CONST.COMPLETE)
|
||||
{
|
||||
this.path.getPoint(1, pathVector);
|
||||
|
||||
|
|
Loading…
Reference in a new issue