I am the one who knocks

This commit is contained in:
Benjamin Lu
2025-09-23 11:56:30 -07:00
parent 8eec7fb80e
commit f99d8c1a92

View File

@@ -53,10 +53,7 @@ export class LinkConnectorAdapter {
const output = node?.outputs?.[outputIndex]
if (!node || !output) return
const fromReroute =
opts?.fromRerouteId != null
? this.network.getReroute(opts.fromRerouteId)
: undefined
const fromReroute = this.network.getReroute(opts?.fromRerouteId)
if (opts?.moveExisting) {
this.linkConnector.moveOutputLink(this.network, output)
@@ -85,10 +82,7 @@ export class LinkConnectorAdapter {
const input = node?.inputs?.[inputIndex]
if (!node || !input) return
const fromReroute =
opts?.fromRerouteId != null
? this.network.getReroute(opts.fromRerouteId)
: undefined
const fromReroute = this.network.getReroute(opts?.fromRerouteId)
if (opts?.moveExisting) {
this.linkConnector.moveInputLink(this.network, input)