We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c41b32 + 61b9e11 commit 68f4570Copy full SHA for 68f4570
1 file changed
src/animation/FrameData.js
@@ -164,12 +164,12 @@ Phaser.Animation.FrameData.prototype = {
164
if (useNumericIndex)
165
{
166
// The actual frame
167
- output.push(this.getFrame(input[i]));
+ output.push(this.getFrame(frames[i]));
168
}
169
else
170
171
172
- output.push(this.getFrameByName(input[i]));
+ output.push(this.getFrameByName(frames[i]));
173
174
175
@@ -209,7 +209,7 @@ Phaser.Animation.FrameData.prototype = {
209
// Does the frames array contain names or indexes?
210
211
212
- output.push(frames[i].index);
+ output.push(frames[i]);
213
214
215
0 commit comments