diff --git a/client b/client index ca91b18..5d2b0ad 100644 --- a/client +++ b/client @@ -1,3 +1,5 @@ +local hostname = "turtle" .. os.getComputerID() + local sides = peripheral.getNames() for i = 1, #sides do if peripheral.getType(sides[i]) == "modem" then @@ -25,7 +27,7 @@ function dump(o) return tostring(o) end -rednet.host("rmm", "t0-turtle01") +rednet.host("rmm", hostname) local master = rednet.lookup("rmm", "master") while true do local event, id, data = os.pullEvent()