Skip to content

Commit acebd74

Browse files
committed
Merge pull request phaserjs#2241 from s4wny/patch-1
Fixed misleading error message
2 parents bceca55 + 70c64eb commit acebd74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemap/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Phaser.Tilemap.prototype = {
304304

305305
if (idx === null && this.format === Phaser.Tilemap.TILED_JSON)
306306
{
307-
console.warn('Phaser.Tilemap.addTilesetImage: No data found in the JSON matching the tileset name: "' + key + '"');
307+
console.warn('Phaser.Tilemap.addTilesetImage: No data found in the JSON matching the tileset name: "' + tileset + '"');
308308
return null;
309309
}
310310

0 commit comments

Comments
 (0)