mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
Fix activation criteria.
This commit is contained in:
parent
9559f9ffd3
commit
52d80476a8
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
|
||||
this.getOtherModule = function () {
|
||||
// Used to fetch other module.
|
||||
return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("RightFarGrabEntity") : ("LeftFarGrabEntity"));
|
||||
return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("LeftFarGrabEntity") : ("RightFarGrabEntity"));
|
||||
};
|
||||
|
||||
this.getTargetRotation = function () {
|
||||
|
@ -105,7 +105,7 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
}
|
||||
|
||||
this.getOffhandTrigger = function () {
|
||||
return (_this.hand === RIGHT_HAND ? _this.rightTrigger : _this.leftTrigger);
|
||||
return (_this.hand === RIGHT_HAND ? _this.leftTrigger : _this.rightTrigger);
|
||||
}
|
||||
|
||||
this.shouldManipulateTarget = function () {
|
||||
|
|
Loading…
Reference in a new issue