mirror of
https://github.com/rayaman/multi.git
synced 2026-09-04 23:17:35 -04:00
should fix a bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user