More map work

This commit is contained in:
2014-06-15 18:41:09 -07:00
parent b2e697ccd0
commit c8a398249b

View File

@@ -65,7 +65,7 @@ Light.prototype = Object.create(Phaser.Sprite.prototype);
Light.prototype.constructor = Light;
Light.prototype.update_new_values = function() {
this.light_meter = parseInt(this.light_meter);
this.light_meter = Number(this.light_meter);
this.radius = parseInt(this.radius);
this.fade = this.radius * Number(this.fade);
this.flicker = parseBoolean(this.flicker);