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) {
// entity was deleted before we found its parent
iter.remove();
continue;
}
entity->requiresRecalcBoxes();