diff --git a/scene/main/node.cpp b/scene/main/node.cpp index edc97cbf464..11b400d4a95 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2082,7 +2082,7 @@ void Node::update_configuration_warning() { } bool Node::is_owned_by_parent() const { - data.parent_owned; + return data.parent_owned; } void Node::_bind_methods() {