shorter timeout

This commit is contained in:
Seth Alves 2015-05-15 14:20:29 -07:00
parent 0d3add8596
commit 60bd345e57

View file

@ -32,7 +32,7 @@ function createOrUpdateLine(event) {
Entities.editEntity(lineEntityID, { Entities.editEntity(lineEntityID, {
position: nearLinePoint(intersection.intersection), position: nearLinePoint(intersection.intersection),
dimensions: dim, dimensions: dim,
lifetime: 60 + props.lifespan // renew lifetime lifetime: 15 + props.lifespan // renew lifetime
}); });
} else { } else {
lineIsRezzed = true; lineIsRezzed = true;
@ -41,7 +41,7 @@ function createOrUpdateLine(event) {
position: nearLinePoint(intersection.intersection), position: nearLinePoint(intersection.intersection),
dimensions: dim, dimensions: dim,
color: { red: 255, green: 255, blue: 255 }, color: { red: 255, green: 255, blue: 255 },
lifetime: 60 // if someone crashes while pointing, don't leave the line there forever. lifetime: 15 // if someone crashes while pointing, don't leave the line there forever.
}); });
} }
} else { } else {