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 {