Browse Source

Fix fork operation not setting ingredient values correctly.

j433866 6 years ago
parent
commit
2b538061e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/operations/Fork.mjs

+ 1 - 1
src/core/operations/Fork.mjs

@@ -89,7 +89,7 @@ class Fork extends Operation {
         // Run recipe over each tranche
         for (i = 0; i < inputs.length; i++) {
             // Baseline ing values for each tranche so that registers are reset
-            subOpList.forEach((op, i) => {
+            recipe.opList.forEach((op, i) => {
                 op.ingValues = JSON.parse(JSON.stringify(ingValues[i]));
             });