make pass if true node consider clickable checkbox

This commit is contained in:
Lera Elvoé 2023-12-08 14:36:43 +03:00
parent 87a8848516
commit 0b907a7716
No known key found for this signature in database

View file

@ -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)