mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fix typo that broke fargrab. Grip or Trigger on off hand will now manipulate.
This commit is contained in:
parent
543d53ecde
commit
8f5a8d0caa
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue