mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 14:30:35 +02:00
temporary activation of node public socket in VS
This commit is contained in:
parent
628a3ba489
commit
0ae825d761
2 changed files with 6 additions and 1 deletions
|
@ -394,6 +394,11 @@ void VoxelServer::run() {
|
|||
&senderAddress,
|
||||
&senderAddress);
|
||||
|
||||
// temp activation of public socket before server ping/reply is setup
|
||||
if (!node->getActiveSocket()) {
|
||||
node->activatePublicSocket();
|
||||
}
|
||||
|
||||
NodeList::getInstance()->updateNodeWithData(node, packetData, packetLength);
|
||||
|
||||
VoxelNodeData* nodeData = (VoxelNodeData*) node->getLinkedData();
|
||||
|
|
Loading…
Reference in a new issue