Fixup to typo and indentation in 81c86e8

This commit is contained in:
Rémi Verschelde 2018-11-26 11:21:06 +01:00
parent e8e3a780be
commit f30745bd85
2 changed files with 27 additions and 27 deletions

View File

@ -397,7 +397,7 @@ void AnimationNode::_validate_property(PropertyInfo &property) const {
Ref<AnimationNode> AnimationNode::get_child_by_name(const StringName &p_name) { Ref<AnimationNode> AnimationNode::get_child_by_name(const StringName &p_name) {
if (get_script_instance()) { if (get_script_instance()) {
return get_script_instance()->call("get_child_by_nane"); return get_script_instance()->call("get_child_by_name");
} }
return Ref<AnimationNode>(); return Ref<AnimationNode>();
} }