lastEditedBy is set by add/edit, but not by physics packets

This commit is contained in:
howard-stearns 2017-02-13 13:47:20 -08:00
parent d24ed62116
commit 6241889e38

View file

@ -1119,7 +1119,7 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
endLogging = usecTimestampNow();
startUpdate = usecTimestampNow();
properties.setLastEditedBy(senderNode->getUUID());
if (!isPhysics) properties.setLastEditedBy(senderNode->getUUID());
updateEntity(entityItemID, properties, senderNode);
existingEntity->markAsChangedOnServer();
endUpdate = usecTimestampNow();