Fixes numeric frame indexes on animations

This commit is contained in:
Cameron Foale 2013-09-20 17:39:02 +10:00
parent 9e88da5c66
commit ec3fc8f307

View file

@ -209,7 +209,7 @@ Phaser.Animation.FrameData.prototype = {
// Does the frames array contain names or indexes? // Does the frames array contain names or indexes?
if (useNumericIndex) if (useNumericIndex)
{ {
output.push(frames[i].index); output.push(frames[i]);
} }
else else
{ {