Skip to content

Commit 14091c0

Browse files
authored
Correctly lookup relative parent node path in beehave tree (#397)
1 parent 1bfdb14 commit 14091c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/beehave/nodes/beehave_tree.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ signal tree_disabled
3535
set(anp):
3636
actor_node_path = anp
3737
if actor_node_path != null and str(actor_node_path) != "..":
38-
actor = get_node(actor_node_path)
38+
actor = get_node(actor_node_path.get_as_property_path())
3939
else:
4040
actor = get_parent()
4141
if Engine.is_editor_hint():

0 commit comments

Comments
 (0)