mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 06:22:10 +02:00
Update use of sendingNode->getUUID() to use packet->getSourceID instead
This commit is contained in:
parent
96bd650b55
commit
47f3aad437
1 changed files with 2 additions and 2 deletions
|
@ -57,10 +57,10 @@ bool JurisdictionListener::queueJurisdictionRequest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void JurisdictionListener::processPacket(QSharedPointer<NLPacket> packet, SharedNodePointer sendingNode) {
|
void JurisdictionListener::processPacket(QSharedPointer<NLPacket> packet, SharedNodePointer sendingNode) {
|
||||||
if (packet->getType() == PacketType::Jurisdiction && sendingNode) {
|
if (packet->getType() == PacketType::Jurisdiction) {
|
||||||
JurisdictionMap map;
|
JurisdictionMap map;
|
||||||
map.unpackFromPacket(*packet);
|
map.unpackFromPacket(*packet);
|
||||||
_jurisdictions[sendingNode->getUUID()] = map;
|
_jurisdictions[packet->getSourceID()] = map;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue