mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 01:17:43 +00:00
Fix PathFollower end point when given to
This commit is contained in:
parent
b3f34a0471
commit
ebb27e8ae4
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ var PathFollower = {
|
|||
|
||||
if (tweenData.state === TWEEN_CONST.COMPLETE)
|
||||
{
|
||||
this.path.getPoint(1, pathVector);
|
||||
this.path.getPoint(tweenData.end, pathVector);
|
||||
|
||||
pathDelta.add(pathVector);
|
||||
pathVector.add(this.pathOffset);
|
||||
|
|
Loading…
Reference in a new issue