add rednet open to action 3 and 4

This commit is contained in:
justuswolff
2026-02-19 20:00:05 +01:00
parent 322ec34491
commit 37233f7b42

View File

@@ -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()