improve rcturtle remote

This commit is contained in:
LordMZTE 2022-03-06 00:27:55 +01:00
parent a8e35502ac
commit 6fa0e011d7
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,7 @@ end
local function set_slot(num)
send(function()
local id, val = rednet.receive()
local _, val = rednet.receive()
turtle.select(val)
send_remote(val)
end)
@ -106,6 +106,7 @@ while true do
local _, key = os.pullEvent "key"
local action = actions[key];
if action then
reset_output()
send(action)
end
end, function()