aboutsummaryrefslogtreecommitdiff
path: root/NodeInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NodeInput.cpp')
-rw-r--r--NodeInput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NodeInput.cpp b/NodeInput.cpp
index 17f9ed5..0fc8110 100644
--- a/NodeInput.cpp
+++ b/NodeInput.cpp
@@ -6,8 +6,8 @@ NodeInput::NodeInput(const char * type) : Node(type) { }
void NodeInput::sim() {
if (this->output == nullptr) return;
- std::cout << this->level << " bar\n";
- this->output->setLevel(this->level);
+
+ this->output->setLevel(this->input);
}
NodeInput::NodeInput(const NodeInput * prototype) : Node() { }