From 9780592a90e0c1b6ad7d0a11c84cada2fab80002 Mon Sep 17 00:00:00 2001 From: svipal <48034417+svipal@users.noreply.github.com> Date: Sat, 8 Feb 2020 15:55:22 +0100 Subject: [PATCH] Update StaticTilemapLayer.js --- src/tilemaps/staticlayer/StaticTilemapLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tilemaps/staticlayer/StaticTilemapLayer.js b/src/tilemaps/staticlayer/StaticTilemapLayer.js index a4511f30a..4b921a2b3 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayer.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayer.js @@ -1124,7 +1124,7 @@ var StaticTilemapLayer = new Class({ */ hasTileAtWorldXY: function (worldX, worldY, camera) { - return TilemapComponents.HasTileAtWorldXY(worldX, worldY, camera); + return TilemapComponents.HasTileAtWorldXY(worldX, worldY, camera, this.layer); }, /**