mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 03:50:16 +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 () {
|
this.getOtherModule = function () {
|
||||||
// Used to fetch other module.
|
// Used to fetch other module.
|
||||||
return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("RightFarGrabEntity") : ("LeftFarGrabEntity"));
|
return getEnabledModuleByName(this.hand === RIGHT_HAND ? ("LeftFarGrabEntity") : ("RightFarGrabEntity"));
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getTargetRotation = function () {
|
this.getTargetRotation = function () {
|
||||||
|
@ -105,7 +105,7 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.getOffhandTrigger = function () {
|
this.getOffhandTrigger = function () {
|
||||||
return (_this.hand === RIGHT_HAND ? _this.rightTrigger : _this.leftTrigger);
|
return (_this.hand === RIGHT_HAND ? _this.leftTrigger : _this.rightTrigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.shouldManipulateTarget = function () {
|
this.shouldManipulateTarget = function () {
|
||||||
|
|
Loading…
Reference in a new issue