Resolve Comments of @sethalves

This commit is contained in:
volansystech 2017-04-19 16:39:23 +05:30
parent e5c7587ad8
commit b194ddeb66

View file

@ -2659,7 +2659,7 @@ function MyController(hand) {
var distanceToObject = Vec3.length(Vec3.subtract(MyAvatar.position, this.currentObjectPosition));
this.linearTimeScale = (this.linearTimeScale / 2);
if(this.linearTimeScale <= DISTANCE_HOLDING_ACTION_TIMEFRAME){
if (this.linearTimeScale <= DISTANCE_HOLDING_ACTION_TIMEFRAME) {
this.linearTimeScale = DISTANCE_HOLDING_ACTION_TIMEFRAME;
}
var success = Entities.updateAction(this.grabbedThingID, this.actionID, {