Skip to content

Commit aecbd7c

Browse files
committed
Add width/height to debug log for new layers.
1 parent 29c77e1 commit aecbd7c

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
@@ -593,7 +593,7 @@ Phaser.Tilemap.prototype = {
593593
{
594594
// incredibly useful when trying to debug multiple layers..
595595
// this and the two below describe each layer, tileset, and it's index in the layers list...
596-
console.log("createLayer", this.layers[index].name, "tileset", this.tilesets[0].name, "index =", index);
596+
console.log("createLayer", this.layers[index].name, width, "x", height, "tileset", this.tilesets[0].name, "index =", index);
597597
}
598598

599599
// attempt to create internal layers for multiple tilesets in a layer

0 commit comments

Comments
 (0)