From a5b1f6661581f3f80eba19127b5cd687dbc1ef36 Mon Sep 17 00:00:00 2001 From: samme Date: Tue, 20 Oct 2020 10:23:07 -0700 Subject: [PATCH] Fix name in empty frame warning --- src/animation/Frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation/Frame.js b/src/animation/Frame.js index bcec5a399..f9f92abcc 100644 --- a/src/animation/Frame.js +++ b/src/animation/Frame.js @@ -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'); } /**