Skip to content

Commit 31cc247

Browse files
committed
AnimationManager.currentFrame update on play
1 parent 82ef6d4 commit 31cc247

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/animation/AnimationManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ Phaser.AnimationManager.prototype = {
259259

260260
this.currentAnim = this._anims[name];
261261
this.currentAnim.paused = false;
262+
this.currentFrame = this.currentAnim.currentFrame;
262263
return this.currentAnim.play(frameRate, loop, killOnComplete);
263264
}
264265
}

0 commit comments

Comments
 (0)