fix: map uuid before adding entity

This commit is contained in:
cha0s 2019-03-21 18:30:44 -05:00
parent e31d7be41a
commit 4e5c4abe8c

View File

@ -47,8 +47,8 @@ class EntityListBase {
const newEntity = create().fromJSON({
traits: change[uuid],
});
this.addEntity(newEntity);
this.uuidMap_PRIVATE[uuid] = newEntity.instanceUuid;
this.addEntity(newEntity);
}
}
}