temporary activation of node public socket in VS

This commit is contained in:
Stephen Birarda 2013-10-17 13:01:03 -07:00
parent 628a3ba489
commit 0ae825d761
2 changed files with 6 additions and 1 deletions

View file

@ -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();