mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
make pass if true node consider clickable checkbox
This commit is contained in:
parent
87a8848516
commit
0b907a7716
1 changed files with 5 additions and 3 deletions
|
@ -27,7 +27,9 @@ func _receive(to_input_port: int, data: Variant, extra_data: Array = []) -> void
|
|||
if to_input_port != 1:
|
||||
return
|
||||
|
||||
if !request_value(0):
|
||||
return
|
||||
|
||||
if request_value(0):
|
||||
send(0, data, extra_data)
|
||||
elif ports[0].value:
|
||||
send(0, data, extra_data)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue