change additional lifetime to 60 seconds to avoid processing hiccups

This commit is contained in:
Brad Hefta-Gaub 2015-09-29 15:48:46 -07:00
parent 90afeb4ce1
commit 67823b79d5

View file

@ -45,7 +45,7 @@ var UPDATE_INTERVAL = 1 / 30; // 30fps
var MINIMUM_LIGHT_INTENSITY = 0.75;
var MAXIMUM_LIGHT_INTENSITY = 2.75;
var LIGHT_INTENSITY_RANDOMNESS = 0.3;
var EPHEMERAL_LIFETIME = 10; // ephemeral entities will live for 60 seconds after script stops running
var EPHEMERAL_LIFETIME = 60; // ephemeral entities will live for 60 seconds after script stops running
var LightMaker = {
light: null,