modified: src/VMR/Strip.ts

This commit is contained in:
Maksym 2024-10-19 18:53:11 +02:00
parent c0a6729fe3
commit 6d1d767819

View File

@ -88,7 +88,7 @@ export class Strip extends VMObject {
const element = changedBuses.A[busId];
script += `${this.buildParameterString(`A${busId}`)} = ${
element ? "1" : "0"
};`;
};\n`;
}
}
if (changedBuses.B !== undefined)
@ -97,7 +97,7 @@ export class Strip extends VMObject {
const outputToBus = changedBuses.B[busId];
script += `${this.buildParameterString(`B${busId}`)} = ${
outputToBus ? "1" : "0"
};`;
};\n`;
}
}
this.setParameters(script);