From 62b5aa9bd996182e65d89b15bd6101248eb705c8 Mon Sep 17 00:00:00 2001 From: XekeDeath Date: Mon, 30 Sep 2013 13:28:17 +1000 Subject: [PATCH] Removed redundant assignment. --- src/animation/Animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/Animation.js b/src/animation/Animation.js index e59b3dff..90f456cf 100644 --- a/src/animation/Animation.js +++ b/src/animation/Animation.js @@ -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)