Removed redundant assignment.

This commit is contained in:
XekeDeath
2013-09-30 13:28:17 +10:00
parent ce3e1708e0
commit 62b5aa9bd9
+1 -1
View File
@@ -223,7 +223,7 @@ Phaser.Animation.prototype = {
{
if (this.looped)
{
this._frameIndex = this._frameIndex %= this._frames.length;
this._frameIndex %= this._frames.length;
this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]);
if (this.currentFrame)