From 9c98f1a139bf9475af61fa58291c687cbe994081 Mon Sep 17 00:00:00 2001
From: "p.vanderwilt"
Date: Thu, 6 Nov 2025 14:52:41 +0100
Subject: [PATCH] Add warning for improper positioning and rename source
assignment
---
src/specificClass.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/specificClass.js b/src/specificClass.js
index c44aa43..5b87aef 100644
--- a/src/specificClass.js
+++ b/src/specificClass.js
@@ -121,9 +121,11 @@ class Settler {
_connectMachine(machineChild) {
if (machineChild.config.functionality.positionVsParent == "downstream") {
- machineChild.upstreamReactor = this;
+ machineChild.upstreamSource = this;
this.returnPump = machineChild;
+ return;
}
+ this.logger.warn(`Failed to register machine child.`);
}
_updateMeasurement(measurementType, value, position, context) {