AnimationManager.currentFrame update on play

This commit is contained in:
Charles Black 2014-07-16 23:05:27 -04:00
parent 82ef6d4aeb
commit 31cc247462

View file

@ -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);
}
}