Fix fork operation not setting ingredient values correctly.

This commit is contained in:
j433866 2019-03-07 16:26:42 +00:00
parent 8148c1a8a8
commit 2b538061e9
1 changed files with 1 additions and 1 deletions

View File

@ -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]));
});