add rednet open to action 3 and 4
This commit is contained in:
@@ -861,6 +861,7 @@ while true do
|
|||||||
if action == 3 then
|
if action == 3 then
|
||||||
expwarn()
|
expwarn()
|
||||||
|
|
||||||
|
peripheral.find("modem", rednet.open)
|
||||||
reset()
|
reset()
|
||||||
for _,v in pairs(fs.list("designs")) do
|
for _,v in pairs(fs.list("designs")) do
|
||||||
term.write(v)
|
term.write(v)
|
||||||
@@ -931,6 +932,7 @@ while true do
|
|||||||
if action == 4 then
|
if action == 4 then
|
||||||
expwarn()
|
expwarn()
|
||||||
|
|
||||||
|
peripheral.find("modem", rednet.open)
|
||||||
reset()
|
reset()
|
||||||
term.write("Enter the code: ")
|
term.write("Enter the code: ")
|
||||||
local code = read()
|
local code = read()
|
||||||
|
|||||||
Reference in New Issue
Block a user