changed dependencies

This commit is contained in:
Jonas Mucke
2020-04-20 13:28:08 +02:00
parent 3ec908f6c3
commit 69e9e8eba2
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ func _on_Hurtbox_area_entered(area):
var Hearts = load("res://Objects/Heart/Heart.tscn")
#index of ysort
var world = get_tree().current_scene.get_child(2)
var world = get_tree().current_scene.get_node("YSort")
if(randf()<GreenDrop):
var green = GreenRubies.instance()
world.add_child(green)