mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 19:27:41 +02:00
Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp
This commit is contained in:
commit
7a48463f4e
1 changed files with 2 additions and 2 deletions
|
@ -497,8 +497,8 @@ unsigned int LimitedNodeList::broadcastToNodes(std::unique_ptr<NLPacket> packet,
|
|||
unsigned int n = 0;
|
||||
|
||||
eachNode([&](const SharedNodePointer& node){
|
||||
if (node->getActiveSocket() && destinationNodeTypes.contains(node->getType())) {
|
||||
writePacket(*packet, *node->getActiveSocket(), node->getConnectionSecret());
|
||||
if (node && destinationNodeTypes.contains(node->getType())) {
|
||||
writePacket(*packet, *node);
|
||||
++n;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue