Fix magic not always working
This commit is contained in:
parent
e9d60f73f4
commit
df20196201
1 changed files with 3 additions and 3 deletions
|
@ -51,10 +51,10 @@ class OutputWaiter {
|
||||||
|
|
||||||
if (this.outputs[inputNum].data === null) return "";
|
if (this.outputs[inputNum].data === null) return "";
|
||||||
|
|
||||||
if (typeof this.outputs[inputNum].data.dish.value === "string") {
|
if (typeof this.outputs[inputNum].data.result === "string") {
|
||||||
return this.outputs[inputNum].data.dish.value;
|
return this.outputs[inputNum].data.result;
|
||||||
} else {
|
} else {
|
||||||
return this.outputs[inputNum].data.dish.value || "";
|
return this.outputs[inputNum].data.result || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue