Incorrect input array in FrameData.getFrames

This commit is contained in:
Cameron Foale
2013-09-20 17:48:38 +10:00
parent ec3fc8f307
commit 61b9e119cb
+2 -2
View File
@@ -164,12 +164,12 @@ Phaser.Animation.FrameData.prototype = {
if (useNumericIndex)
{
// The actual frame
output.push(this.getFrame(input[i]));
output.push(this.getFrame(frames[i]));
}
else
{
// The actual frame
output.push(this.getFrameByName(input[i]));
output.push(this.getFrameByName(frames[i]));
}
}
}