瀏覽代碼

Fix same bug in subsection

j433866 6 年之前
父節點
當前提交
d923c99975
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/operations/Subsection.mjs

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

@@ -116,7 +116,7 @@ class Subsection extends Operation {
                 }
 
                 // 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]));
                 });