diff --git a/fabrication/src/main/java/mrtjp/projectred/fabrication/engine/gates/RepeaterGateTile.java b/fabrication/src/main/java/mrtjp/projectred/fabrication/engine/gates/RepeaterGateTile.java index 202de9ad4..fc4c07b7d 100644 --- a/fabrication/src/main/java/mrtjp/projectred/fabrication/engine/gates/RepeaterGateTile.java +++ b/fabrication/src/main/java/mrtjp/projectred/fabrication/engine/gates/RepeaterGateTile.java @@ -135,7 +135,7 @@ public void compute(ICSimulation ic, int[] inputs, int[] outputs) { } } case 3 -> { // Waiting for timer to go low - if (readSchedTime(ic, inputs) >= readSchedTime(ic, inputs)) { // if timer expired + if (readSysTime(ic, inputs) >= readSchedTime(ic, inputs)) { // if timer expired writeState(ic, outputs, (byte) 0); // go to state 0 writeOutput(ic, outputs, (byte) 0); // set output low writeSchedTime(ic, outputs, -1); // disable timer