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 @@
1"use strict";1"use strict";
2 2
3// nearTrigger.js3// disableOtherModule.js
4//4//
5// Distributed under the Apache License, Version 2.0.5// Distributed under the Apache License, Version 2.0.
6// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html6// 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
37 37
38 if (teleportModule) {38 if (teleportModule) {
39 var ready = teleportModule.isReady(controllerData);39 var ready = teleportModule.isReady(controllerData);
40 if (ready) {40 if (ready.active) {
41 return makeRunningValues(false, [], []);41 return makeRunningValues(false, [], []);
42 }42 }
43 }43 }
44 if (!this.disablemodules) {44 if (!this.disableModules) {
45 return makeRunningValues(false, [], []);45 return makeRunningValues(false, [], []);
46 }46 }
47 return makeRunningValues(true, [], []);47 return makeRunningValues(true, [], []);