Merge pull request #250 from cocoademon/camera_bounds_fix

Switch Camera.setBoundsToWorld to match world.bounds instead of world
This commit is contained in:
Richard Davey
2013-12-05 01:11:59 -08:00
+1 -1
View File
@@ -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);
},