From ec3fc8f307529fa8eda3aa802c5abce9c57f3e46 Mon Sep 17 00:00:00 2001 From: Cameron Foale Date: Fri, 20 Sep 2013 17:39:02 +1000 Subject: [PATCH] Fixes numeric frame indexes on animations --- src/animation/FrameData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/FrameData.js b/src/animation/FrameData.js index 4a9758306..250466359 100644 --- a/src/animation/FrameData.js +++ b/src/animation/FrameData.js @@ -209,7 +209,7 @@ Phaser.Animation.FrameData.prototype = { // Does the frames array contain names or indexes? if (useNumericIndex) { - output.push(frames[i].index); + output.push(frames[i]); } else {