remove error print in area collision, should be a valid situation, closes #2463

This commit is contained in:
Juan Linietsky
2015-12-31 11:15:49 -03:00
parent 8dad6415b1
commit 1e65c3c701
2 changed files with 6 additions and 3 deletions
+5 -1
View File
@@ -383,7 +383,11 @@ void Area2D::_clear_monitoring() {
Object *obj = ObjectDB::get_instance(E->key());
Node *node = obj ? obj->cast_to<Node>() : NULL;
ERR_CONTINUE(!node);
if (!node) //node may have been deleted in previous frame, this should not be an error
continue;
//ERR_CONTINUE(!node);
if (!E->get().in_tree)
continue;