diff --git a/src/core/Camera.js b/src/core/Camera.js index 151e51ac..c4181726 100644 --- a/src/core/Camera.js +++ b/src/core/Camera.js @@ -244,7 +244,7 @@ Phaser.Camera.prototype = { setBoundsToWorld: function () { - this.bounds.setTo(this.game.world.x, this.game.world.y, this.game.world.width, this.game.world.height); + this.bounds.setTo(this.game.world.bounds.x, this.game.world.bounds.y, this.game.world.bounds.width, this.game.world.bounds.height); },