return null uuid for failure

This commit is contained in:
Seth Alves 2017-05-04 10:05:17 -07:00
parent 9ab2a61a4b
commit 74a82f92df

View file

@ -483,6 +483,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties&
}
}
qCWarning(entities) << "attempted edit on unknown entity: " << id << name;
return QUuid(); // null UUID to indicate failure
}
return id;
}