mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
fix passthrough sending when it's not meant to (#169)
closes #168 Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/169 Co-authored-by: Lera Elvoé <yagich@poto.cafe> Co-committed-by: Lera Elvoé <yagich@poto.cafe>
This commit is contained in:
parent
3bff8e27e6
commit
9590b6ae4f
1 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,9 @@ func _init() -> void:
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func _receive(_to_input_port: int, _data: Variant) -> void:
|
func _receive(to_input_port: int, _data: Variant) -> void:
|
||||||
|
if to_input_port != 0:
|
||||||
|
return
|
||||||
|
|
||||||
var data = await resolve_input_port_value_async(1)
|
var data = await resolve_input_port_value_async(1)
|
||||||
send(0, data)
|
send(0, data)
|
||||||
|
|
Loading…
Reference in a new issue