should fix a bug
This commit is contained in:
parent
fdfb3a6388
commit
aec5a88360
@ -157,8 +157,7 @@ function multi:newNode(settings)
|
|||||||
local node = {}
|
local node = {}
|
||||||
node.name = name
|
node.name = name
|
||||||
node.server = net:newUDPServer(0) -- hosts the node using the default port
|
node.server = net:newUDPServer(0) -- hosts the node using the default port
|
||||||
node.port = node.server.port
|
_, node.port = node.server.udp:getsockname()
|
||||||
print(node.port,node.server.udp:getsockname())
|
|
||||||
node.connections = net.ClientCache
|
node.connections = net.ClientCache
|
||||||
node.queue = Queue:newQueue()
|
node.queue = Queue:newQueue()
|
||||||
node.functions = bin.stream("RegisteredFunctions.dat",false)
|
node.functions = bin.stream("RegisteredFunctions.dat",false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user