Im working on a card game and have a signal for when a card is sacrificed (its one of the main mechanics) and it is linked up to 2 nodes, neither of which seem to receive the signal.
Here is the emitting
func _on_Click_box_input_event(_viewport, _event, _shape_idx):
if Input.is_action_just_pressed("r_click") and sacrificed == false:
emit_signal("card_sacrificed",heal_points)
queue_free()
if Input.is_action_just_pressed("click"):
sacrificed = false
Here is the receiving for one of the two nodes
func _on_Card_card_sacrificed(heal_points):
health += heal_points
print(health)
In the signal section all signals are connected properly so I dont understand the issue.