Update StarWorldServer.cpp
This commit is contained in:
parent
392c8e9bd7
commit
253473f32c
@ -1885,7 +1885,7 @@ void WorldServer::queueUpdatePackets(ConnectionId clientId, bool sendRemoteUpdat
|
|||||||
auto firstUpdate = monitoredEntity->writeNetState(0, netRules);
|
auto firstUpdate = monitoredEntity->writeNetState(0, netRules);
|
||||||
clientInfo->clientSlavesNetVersion.add(entityId, firstUpdate.second);
|
clientInfo->clientSlavesNetVersion.add(entityId, firstUpdate.second);
|
||||||
clientInfo->outgoingPackets.append(make_shared<EntityCreatePacket>(monitoredEntity->entityType(),
|
clientInfo->outgoingPackets.append(make_shared<EntityCreatePacket>(monitoredEntity->entityType(),
|
||||||
entityFactory->netStoreEntity(monitoredEntity), std::move(firstUpdate.first), entityId));
|
entityFactory->netStoreEntity(monitoredEntity, netRules), std::move(firstUpdate.first), entityId));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user