Switch Camera.setBoundsToWorld to match world.bounds instead of world

This commit is contained in:
Cameron Foale
2013-12-05 16:28:17 +11:00
parent 666df67453
commit f6712da774
+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);
},