Skip to content

Commit ec3fc8f

Browse files
committed
Fixes numeric frame indexes on animations
1 parent 9e88da5 commit ec3fc8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/animation/FrameData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Phaser.Animation.FrameData.prototype = {
209209
// Does the frames array contain names or indexes?
210210
if (useNumericIndex)
211211
{
212-
output.push(frames[i].index);
212+
output.push(frames[i]);
213213
}
214214
else
215215
{

0 commit comments

Comments
 (0)