libram 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,7 +127,7 @@ export function cycle() {
|
|
|
127
127
|
return get("trainsetConfiguration").split(",");
|
|
128
128
|
}
|
|
129
129
|
export function nextConfigurable() {
|
|
130
|
-
return clamp(get("
|
|
130
|
+
return clamp(get("lastTrainsetConfiguration") + 40 - get("trainsetPosition"), 0, 40);
|
|
131
131
|
}
|
|
132
132
|
export function canConfigure() {
|
|
133
133
|
return installed() && !nextConfigurable();
|