summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index caa0da5d1f..8b08fbe2ff 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -1269,6 +1269,7 @@ void Node::remove_child(Node *p_child) {
}
}
+ ERR_EXPLAIN("Cannot remove child node " + p_child->to_string() + " as it is not in our list of children");
ERR_FAIL_COND(idx == -1);
//ERR_FAIL_COND( p_child->data.blocked > 0 );