Skip to content

Commit 61b9e11

Browse files
committed
Incorrect input array in FrameData.getFrames
1 parent ec3fc8f commit 61b9e11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/animation/FrameData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ Phaser.Animation.FrameData.prototype = {
164164
if (useNumericIndex)
165165
{
166166
// The actual frame
167-
output.push(this.getFrame(input[i]));
167+
output.push(this.getFrame(frames[i]));
168168
}
169169
else
170170
{
171171
// The actual frame
172-
output.push(this.getFrameByName(input[i]));
172+
output.push(this.getFrameByName(frames[i]));
173173
}
174174
}
175175
}

0 commit comments

Comments
 (0)