mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:33:27 +02:00
PR comment, fix extra variable decl
This commit is contained in:
parent
9b81842850
commit
2daa5c3bf6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue