mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:41:10 +02:00
Merge pull request #11380 from ctrlaltdavid/fix-controller-typos
Fix typos in controller modules disabler
This commit is contained in:
commit
095cd03ee2
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// nearTrigger.js
|
// disableOtherModule.js
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
@ -37,11 +37,11 @@ Script.include("/~/system/libraries/controllerDispatcherUtils.js");
|
||||||
|
|
||||||
if (teleportModule) {
|
if (teleportModule) {
|
||||||
var ready = teleportModule.isReady(controllerData);
|
var ready = teleportModule.isReady(controllerData);
|
||||||
if (ready) {
|
if (ready.active) {
|
||||||
return makeRunningValues(false, [], []);
|
return makeRunningValues(false, [], []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!this.disablemodules) {
|
if (!this.disableModules) {
|
||||||
return makeRunningValues(false, [], []);
|
return makeRunningValues(false, [], []);
|
||||||
}
|
}
|
||||||
return makeRunningValues(true, [], []);
|
return makeRunningValues(true, [], []);
|
||||||
|
|
Loading…
Reference in a new issue