mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 22:15:53 +02:00
Reset known entity-state when leaving initial send state
This commit is contained in:
parent
2ac6ca3291
commit
3d1fe7da9f
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ bool EntityTreeSendThread::traverseTreeAndSendContents(SharedNodePointer node, O
|
|||
if (sendComplete && nodeData->wantReportInitialCompletion() && _traversal.finished()) {
|
||||
// Dealt with all nearby entities.
|
||||
nodeData->setReportInitialCompletion(false);
|
||||
resetState();
|
||||
|
||||
// Send EntityQueryInitialResultsComplete reliable packet ...
|
||||
auto initialCompletion = NLPacket::create(PacketType::EntityQueryInitialResultsComplete, -1, true);
|
||||
|
|
Loading…
Reference in a new issue