Browse Source

Make return type explicit.

Saracen 9 năm trước cách đây
mục cha
commit
912afb129f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {