Fix typo
This commit is contained in:
parent
7fd6f66a48
commit
beadf8bed4
2
lib.lua
2
lib.lua
@ -133,7 +133,7 @@ local function query_by_ID(ID, request, tries)
|
|||||||
local result, tries
|
local result, tries
|
||||||
|
|
||||||
repeat
|
repeat
|
||||||
rednet.send(id, request_object, protocol)
|
rednet.send(ID, request_object, protocol)
|
||||||
_, result = rednet.receive(protocol, 1)
|
_, result = rednet.receive(protocol, 1)
|
||||||
sleep(1)
|
sleep(1)
|
||||||
until result ~= nil or tries >= max_tries
|
until result ~= nil or tries >= max_tries
|
||||||
|
Loading…
Reference in New Issue
Block a user