Update entity scripting interface to allow modifications to unknown entities

This commit is contained in:
Ryan Huffman 2016-10-02 22:14:33 -07:00
parent 4974c88880
commit 2f7e346f6a

View file

@ -386,10 +386,6 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties&
}
});
if (!updatedEntity) {
return QUuid();
}
_entityTree->withReadLock([&] {
EntityItemPointer entity = _entityTree->findEntityByEntityItemID(entityID);
if (entity) {