History

Merge pull request #11380 from ctrlaltdavid/fix-controller-typos

Fix typos in controller modules disabler

Seth Alves committed 9 years ago

Commit 095cd032 parents 4fcbaf6 18b71f01 file · +3 −3Browse files

Showing the changes to scripts/system/controllers/controllerModules/disableOtherModule.js (1 of 1 file). Show all

Unified · Split

scripts/system/controllers/controllerModules/disableOtherModule.js+3−3
@@ -1,6 +1,6 @@
11 "use strict";
22
3−// nearTrigger.js
3+// disableOtherModule.js
44 //
55 // Distributed under the Apache License, Version 2.0.
66 // 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"); · 30 unmodified lines
3737
3838 if (teleportModule) {
3939 var ready = teleportModule.isReady(controllerData);
40− if (ready) {
40+ if (ready.active) {
4141 return makeRunningValues(false, [], []);
4242 }
4343 }
44− if (!this.disablemodules) {
44+ if (!this.disableModules) {
4545 return makeRunningValues(false, [], []);
4646 }
4747 return makeRunningValues(true, [], []);