summaryrefslogtreecommitdiff
path: root/scene/main/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main/node.cpp')
-rw-r--r--scene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index edc97cbf46..11b400d4a9 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() {