phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
http://phaser.io
MIT License
1.34k stars 491 forks source link

a API bug at Phaser.FrameData #640

Closed Tobepeter closed 5 years ago

Tobepeter commented 5 years ago

This Issue is about (pick one, ✏️ delete others)

// line 123
for (var p in this._frameNames)
{
    if (this._frameNames.hasOwnProperty(p))
    {
        output._frameNames.push(this._frameNames[p]);

        // ## fix ## (maybe we should try this?)
        output._frameNames[p] = this._frameNames[p]
    }
}