diff --git a/libraries/entities/src/EntityItem.cpp b/libraries/entities/src/EntityItem.cpp index 2a0fb893cf..3dd60d1095 100644 --- a/libraries/entities/src/EntityItem.cpp +++ b/libraries/entities/src/EntityItem.cpp @@ -2707,10 +2707,12 @@ quint64 EntityItem::getLastEdited() const { } void EntityItem::setLastEdited(quint64 lastEdited) { - withWriteLock([&] { - _lastEdited = _lastUpdated = lastEdited; - _changedOnServer = glm::max(lastEdited, _changedOnServer); - }); + if (lastEdited == 0 || lastEdited > _lastEdited) { + withWriteLock([&] { + _lastEdited = _lastUpdated = lastEdited; + _changedOnServer = glm::max(lastEdited, _changedOnServer); + }); + } } void EntityItem::markAsChangedOnServer() {