mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
use same trigger test as in isReady
This commit is contained in:
parent
a478506da3
commit
8180acbffc
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
|||
if (!this.startSent) {
|
||||
this.startNearTrigger(controllerData);
|
||||
this.startSent = true;
|
||||
} else if (controllerData.triggerClicks[this.hand] === 0) {
|
||||
} else if (controllerData.triggerValues[this.hand] < TRIGGER_OFF_VALUE) {
|
||||
this.endNearTrigger(controllerData);
|
||||
this.startSent = false;
|
||||
return makeRunningValues(false, [], []);
|
||||
|
|
Loading…
Reference in a new issue