This commit is contained in:
2014-06-11 19:57:11 -07:00
parent 501757e4ab
commit 66138c8715

View File

@@ -268,7 +268,7 @@ GameState.prototype.updateShadowTexture = function() {
this.shadowTexture.context.fillRect(0, 0, game.world.width, game.world.height);
// Iterate through each of the lights and draw the glow
this.lights.forEach(function(light) {
this.staticLights.forEach(function(light) {
// Randomly change the radius each frame
var radius = light.radius + game.rnd.integerInRange(1,10);