Reworking the junkmap

This commit is contained in:
2014-06-12 23:34:35 -07:00
parent 661b313fb6
commit 225a38239f

View File

@@ -906,6 +906,7 @@ GameState.prototype.updateShadowTexture = function() {
this.game.camera.width,
this.game.camera.height);
if ( ! light.rect.intersects(r1) ) {
console.log("Light does not appear on camera");
return;
}