mirror of
https://github.com/wassname/phaser.git
synced 2026-08-01 12:50:06 +08:00
1.0.4 release
This commit is contained in:
@@ -82,7 +82,7 @@ Phaser.Animation.FrameData.prototype = {
|
||||
*/
|
||||
getFrameByName: function (name) {
|
||||
|
||||
if (this._frameNames[name] && this._frameNames[name] !== '')
|
||||
if (typeof this._frameNames[name] === 'number')
|
||||
{
|
||||
return this._frames[this._frameNames[name]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user