Turned dynamic lights back on

This commit is contained in:
2014-06-12 00:22:01 -07:00
parent 36360a0285
commit 62c5882611

View File

@@ -570,7 +570,7 @@ GameState.prototype.updateShadowTexture = function() {
// underneath it darker, while the white area is unaffected.
// Draw shadow
this.shadowSprite.bringToFront();
this.shadowSprite.bringToTop();
this.shadowTexture.context.fillStyle = this.shadowTextureColor;
this.shadowTexture.context.fillRect(0, 0, game.world.width, game.world.height);