mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +00:00
Fixes numeric frame indexes on animations
This commit is contained in:
parent
9e88da5c66
commit
ec3fc8f307
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue