diff --git a/src/tilemap/Tileset.js b/src/tilemap/Tileset.js index 5d61ef2e2..2b6bb57ee 100644 --- a/src/tilemap/Tileset.js +++ b/src/tilemap/Tileset.js @@ -217,6 +217,10 @@ Phaser.Tileset.prototype = { alpha: alpha }); } + else + { + console.warn("invalid tile index in drawGl", index, this.firstgid, this.name); + } },