mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
Tween needs to persist
This commit is contained in:
parent
951006bf8f
commit
3dff7f07d2
1 changed files with 2 additions and 0 deletions
|
@ -251,6 +251,8 @@ var PathFollower = {
|
|||
|
||||
this.pathDelta.reset();
|
||||
|
||||
config.persist = true;
|
||||
|
||||
this.pathTween = this.scene.sys.tweens.addCounter(config);
|
||||
|
||||
// The starting point of the path, relative to this follower
|
||||
|
|
Loading…
Reference in a new issue