mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
AnimationManager.currentFrame update on play
This commit is contained in:
parent
82ef6d4aeb
commit
31cc247462
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ Phaser.AnimationManager.prototype = {
|
|||
|
||||
this.currentAnim = this._anims[name];
|
||||
this.currentAnim.paused = false;
|
||||
this.currentFrame = this.currentAnim.currentFrame;
|
||||
return this.currentAnim.play(frameRate, loop, killOnComplete);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue