Skip to content

Commit 539d70d

Browse files
committed
Testing multi layer blank map updates.
1 parent 9536782 commit 539d70d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/tilemap/TilemapLayer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ Phaser.TilemapLayer.prototype.postUpdate = function () {
306306
this.render();
307307

308308
// Fixed to Camera?
309-
// if (this._cache[7] === 1)
310-
// {
309+
if (this._cache[7] === 1)
310+
{
311311
this.position.x = (this.game.camera.view.x + this.cameraOffset.x) / this.game.camera.scale.x;
312312
this.position.y = (this.game.camera.view.y + this.cameraOffset.y) / this.game.camera.scale.y;
313-
// }
313+
}
314314

315315
// Update any Children
316316
// for (var i = 0, len = this.children.length; i < len; i++)

0 commit comments

Comments
 (0)