Fix typos in controller modules disabler
Showing the changes to scripts/system/controllers/controllerModules/disableOtherModule.js (1 of 1 file). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | "use strict"; |
| 2 | 2 | |
| 3 | −// nearTrigger.js | |
| 3 | +// disableOtherModule.js | |
| 4 | 4 | // |
| 5 | 5 | // Distributed under the Apache License, Version 2.0. |
| 6 | 6 | // 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 | 38 | if (teleportModule) { |
| 39 | 39 | var ready = teleportModule.isReady(controllerData); |
| 40 | − if (ready) { | |
| 40 | + if (ready.active) { | |
| 41 | 41 | return makeRunningValues(false, [], []); |
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | − if (!this.disablemodules) { | |
| 44 | + if (!this.disableModules) { | |
| 45 | 45 | return makeRunningValues(false, [], []); |
| 46 | 46 | } |
| 47 | 47 | return makeRunningValues(true, [], []); |