You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #29941 from qarmin/redundant_code_and_others
Remove redundant code, possible NULL pointers and others
This commit is contained in:
@@ -1393,7 +1393,7 @@ Node *Node::get_node(const NodePath &p_path) const {
|
||||
Node *node = get_node_or_null(p_path);
|
||||
if (!node) {
|
||||
ERR_EXPLAIN("Node not found: " + p_path);
|
||||
ERR_FAIL_COND_V(!node, NULL);
|
||||
ERR_FAIL_V(NULL);
|
||||
}
|
||||
return node;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user