Turned dynamic lights back on
This commit is contained in:
@@ -312,7 +312,7 @@ var Light = function(game, x, y, radius, fade, color, flicker) {
|
|||||||
this.color = color;
|
this.color = color;
|
||||||
this.radius = radius;
|
this.radius = radius;
|
||||||
this.fade = radius * fade
|
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;
|
this.flicker = flicker;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user