1
0
mirror of synced 2024-11-17 03:27:13 +01:00

Bake in the right order

This commit is contained in:
j433866 2019-04-04 13:13:38 +01:00
parent 8739dd97d6
commit 76da287cca

View File

@ -139,7 +139,8 @@ class WorkerWaiter {
this.updateOutput(r.data, r.data.inputNum); this.updateOutput(r.data, r.data.inputNum);
if (this.inputs.length > 0) { if (this.inputs.length > 0) {
const nextInput = this.inputs.pop(); const nextInput = this.inputs[0];
this.inputs.splice(0, 1);
log.debug(`Baking input ${nextInput.inputNum}.`); log.debug(`Baking input ${nextInput.inputNum}.`);
this.manager.output.updateOutputStatus("baking", nextInput.inputNum); this.manager.output.updateOutputStatus("baking", nextInput.inputNum);
this.manager.output.updateOutputMessage("Baking...", nextInput.inputNum); this.manager.output.updateOutputMessage("Baking...", nextInput.inputNum);