mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-28 03:19:54 +02:00
Fix size of statusPacket in AssignmentClient
This commit is contained in:
parent
a61fbff018
commit
e99df5b56d
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,6 @@ void AssignmentClient::setUpStatusToMonitor() {
|
|||
void AssignmentClient::sendStatusPacketToACM() {
|
||||
// tell the assignment client monitor what this assignment client is doing (if anything)
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
|
||||
auto statusPacket = NLPacket::create(PacketType::AssignmentClientStatus, 1 + NUM_BYTES_RFC4122_UUID);
|
||||
|
||||
quint8 assignmentType = Assignment::Type::AllTypes;
|
||||
|
||||
|
@ -177,6 +175,8 @@ void AssignmentClient::sendStatusPacketToACM() {
|
|||
assignmentType = _currentAssignment->getType();
|
||||
}
|
||||
|
||||
auto statusPacket = NLPacket::create(PacketType::AssignmentClientStatus, typeof(assignmentType) + NUM_BYTES_RFC4122_UUID);
|
||||
|
||||
statusPacket->write(nodeList->getSessionUUID().toRfc4122());
|
||||
statusPacket->writePrimitive(assignmentType);
|
||||
|
||||
|
|
Loading…
Reference in a new issue