Saracen 9 лет назад
Родитель
Сommit
912afb129f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scene/main/node.cpp

+ 1 - 1
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() {