Turned dynamic lights back on

This commit is contained in:
2014-06-12 00:26:58 -07:00
parent 2ce87445ec
commit 8aa5fb6d61

View File

@@ -312,7 +312,7 @@ var Light = function(game, x, y, radius, fade, color, flicker) {
this.color = color;
this.radius = radius;
this.fade = radius * fade
this.rect = new Phaser.Rectangle(this.x, this.y, radius * 2, radius * 2)
this.rect = new Phaser.Rectangle(this.x - radius, this.y - radius, radius * 2, radius * 2)
this.flicker = flicker;
};