From 8f5a8d0caafded548a920550516e732137fa30ba Mon Sep 17 00:00:00 2001 From: r3tk0n Date: Thu, 21 Mar 2019 14:38:11 -0700 Subject: [PATCH] Fix typo that broke fargrab. Grip or Trigger on off hand will now manipulate. --- scripts/system/controllers/controllerModules/farGrabEntity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/controllers/controllerModules/farGrabEntity.js b/scripts/system/controllers/controllerModules/farGrabEntity.js index bde5f8a8a8..ecafa3cb26 100644 --- a/scripts/system/controllers/controllerModules/farGrabEntity.js +++ b/scripts/system/controllers/controllerModules/farGrabEntity.js @@ -103,7 +103,7 @@ Script.include("/~/system/libraries/controllers.js"); // Activation criteria for rotating a fargrabbed entity. If we're changing the mapping, this is where to do it. this.shouldManipulateTarget = function (controllerData) { - return (controllerData.triggerValues[this.getOffhand()] > TRIGGER_ON_VALUE || controllerdata.secondaryValues[this.getOffhand()] > TRIGGER_ON_VALUE) ? true : false; + return (controllerData.triggerValues[this.getOffhand()] > TRIGGER_ON_VALUE || controllerData.secondaryValues[this.getOffhand()] > TRIGGER_ON_VALUE) ? true : false; }; // Get the delta between the current rotation and where the controller was when manipulation started.