Augment trees, rather than nodes, when nodes are added. This hopefully catches any node children that need to be accessible.

This commit is contained in:
Nolan Darilek 2018-06-10 19:56:58 +00:00
parent df410e5802
commit 84df5394cc

View File

@ -34,7 +34,7 @@ func set_initial_scene_focus(scene):
print("Set focus in scene")
func _enter_tree():
get_tree().connect("node_added", self, "augment_node")
get_tree().connect("node_added", self, "augment_tree")
connect("scene_changed", self, "set_initial_scene_focus")
connect("main_screen_changed", self, "set_initial_screen_focus")