diff --git a/src/lib/litegraph/src/LGraphNode.ts b/src/lib/litegraph/src/LGraphNode.ts index 90a06afa3..d4149e6ec 100644 --- a/src/lib/litegraph/src/LGraphNode.ts +++ b/src/lib/litegraph/src/LGraphNode.ts @@ -882,7 +882,7 @@ export class LGraphNode // special case for when there were errors if (this.constructor === LGraphNode && this.last_serialization) - return this.last_serialization + return { ...this.last_serialization, mode: o.mode, pos: o.pos } if (this.inputs) o.inputs = this.inputs.map((input) => inputAsSerialisable(input))