mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
Incorrect input array in FrameData.getFrames
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user