Fix typos in controller modules disabler

This commit is contained in:
David Rowe 2017-09-16 15:34:53 +12:00
parent 512e9432ed
commit 18b71f0c0f

View file

@ -1,6 +1,6 @@
"use strict";
// nearTrigger.js
// disableOtherModule.js
//
// Distributed under the Apache License, Version 2.0.
// 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) {
var ready = teleportModule.isReady(controllerData);
if (ready) {
if (ready.active) {
return makeRunningValues(false, [], []);
}
}
if (!this.disablemodules) {
if (!this.disableModules) {
return makeRunningValues(false, [], []);
}
return makeRunningValues(true, [], []);