mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 21:55:53 +02:00
set _lastEdited to _created rather than to zero
This commit is contained in:
parent
44ebf37510
commit
75d468da9e
1 changed files with 2 additions and 3 deletions
|
@ -368,10 +368,9 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
createdFromBuffer -= clockSkew;
|
||||
|
||||
if (createdFromBuffer < _created) {
|
||||
// the server claims that this entity has an older creation time
|
||||
// so we accept it and clear _lastEdited
|
||||
// the server claims that this entity has an older creation time so we accept it
|
||||
_created = createdFromBuffer;
|
||||
_lastEdited = 0;
|
||||
_lastEdited = _created;
|
||||
}
|
||||
|
||||
if (wantDebug) {
|
||||
|
|
Loading…
Reference in a new issue