fix: use _find_skeleton and _find_animation_player consistently

This commit is contained in:
2026-06-23 12:12:10 -04:00
parent 89ddac072b
commit 0da573f11f
+2 -2
View File
@@ -123,7 +123,7 @@ func _find_skeleton(node: Node) -> Skeleton3D:
if node is Skeleton3D:
return node
for child in node.get_children():
var result = find_skeleton(child)
var result = _find_skeleton(child)
if result:
return result
return null
@@ -132,7 +132,7 @@ func _find_animation_player(node: Node) -> AnimationPlayer:
if node is AnimationPlayer:
return node
for child in node.get_children():
var result = find_animation_player_recursive(child)
var result = _find_animation_player(child)
if result:
return result
return null