Skip to content

Commit

Permalink
Fix name in empty frame warning
Browse files Browse the repository at this point in the history
  • Loading branch information
samme committed Oct 20, 2020
1 parent 49bd0ea commit a5b1f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/animation/Frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Phaser.Frame = function (index, x, y, width, height, name)

if (this.width === 0 || this.height === 0)
{
console.warn('Phaser.Frame: Frame "' + this.name + '" has a width or height of zero');
console.warn('Phaser.Frame: Frame "' + name + '" has a width or height of zero');
}

/**
Expand Down

0 comments on commit a5b1f66

Please sign in to comment.