Add return pump update in reactor state change

This commit is contained in:
2025-11-14 12:55:34 +01:00
parent 70af0885e3
commit f3bbf63602

View File

@@ -228,6 +228,10 @@ class Reactor {
}
this.currentTime += n_iter * this.timeStep * DAY2MS / this.speedUpFactor;
this.emitter.emit("stateChange", this.currentTime);
if (this.returnPump) {
this.returnPump.updateSourceSink();
}
}
}
}