PR comment, fix extra variable decl

This commit is contained in:
Brad Davis 2015-09-11 16:54:18 -07:00
parent 9b81842850
commit 2daa5c3bf6

View file

@ -550,7 +550,7 @@ bool EntityScriptingInterface::actionWorker(const QUuid& entityID,
bool success;
_entityTree->withWriteLock([&] {
EntitySimulation* simulation = _entityTree->getSimulation();
EntityItemPointer entity = _entityTree->findEntityByEntityItemID(entityID);
entity = _entityTree->findEntityByEntityItemID(entityID);
if (!entity) {
qDebug() << "actionWorker -- unknown entity" << entityID;
return;