Minor fixes

This commit is contained in:
2025-11-07 16:51:48 +01:00
parent a106276ca6
commit 2b37163a8a
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@
enableLog: { value: false },
logLevel: { value: "error" },
positionVsParent: { value: "" },
positionVsParent: { value: "" }
},
inputs: 1,
outputs: 3,

View File

@@ -203,7 +203,7 @@ class Reactor {
* Update the reactor state based on the new time.
* @param {number} newTime - New time to update reactor state to, in milliseconds since epoch.
*/
updateState(newTime = Date.now()) { // expect update with timestamp
updateState(newTime) { // expect update with timestamp
if (this.upstreamReactor) {
this.setInfluent = this.upstreamReactor.getEffluent[0]; // grab main effluent upstream reactor
}