be more careful about fixing up entities which arrived before their parents

This commit is contained in:
Seth Alves 2017-05-19 15:19:16 -07:00
parent 386c76545c
commit 67f222cb3f

View file

@ -1218,6 +1218,7 @@ void EntityTree::fixupMissingParents() {
if (!entity) { if (!entity) {
// entity was deleted before we found its parent // entity was deleted before we found its parent
iter.remove(); iter.remove();
continue;
} }
entity->requiresRecalcBoxes(); entity->requiresRecalcBoxes();