Tween needs to persist

This commit is contained in:
Richard Davey 2022-09-27 21:12:47 +01:00
parent 951006bf8f
commit 3dff7f07d2

View file

@ -251,6 +251,8 @@ var PathFollower = {
this.pathDelta.reset(); this.pathDelta.reset();
config.persist = true;
this.pathTween = this.scene.sys.tweens.addCounter(config); this.pathTween = this.scene.sys.tweens.addCounter(config);
// The starting point of the path, relative to this follower // The starting point of the path, relative to this follower