Make it really actually work

This commit is contained in:
osmarks 2018-05-06 08:20:13 +01:00
parent c15d4a26a0
commit 01bbdc3a92

View File

@ -26,7 +26,7 @@ local function query(m)
local resp
repeat
rednet.broadcast(m, "dragon")
_, msg = rednet.receive("dragon", 1)
_, resp = rednet.receive("dragon", 1)
until resp and resp.msg and resp.uid == uid
return resp.msg
end