diff --git a/src/engine.cpp b/src/engine.cpp index a8581fbe..5ee7e1cb 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -167,7 +167,7 @@ static void updateActive() { // Set inputs/outputs to active for (Wire *wire : wires) { wire->outputModule->outputs[wire->outputId].active = true; - wire->inputModule->outputs[wire->inputId].active = true; + wire->inputModule->inputs[wire->inputId].active = true; } }