should fix a bug

This commit is contained in:
Ryan Ward 2018-07-02 20:42:00 -04:00
parent fdfb3a6388
commit aec5a88360

View File

@ -157,8 +157,7 @@ function multi:newNode(settings)
local node = {}
node.name = name
node.server = net:newUDPServer(0) -- hosts the node using the default port
node.port = node.server.port
print(node.port,node.server.udp:getsockname())
_, node.port = node.server.udp:getsockname()
node.connections = net.ClientCache
node.queue = Queue:newQueue()
node.functions = bin.stream("RegisteredFunctions.dat",false)