change identifyMonitor to be more like the peripheral.find() documentation
This commit is contained in:
2
main.lua
2
main.lua
@@ -62,7 +62,7 @@ Config.Monitors.AutopilotControlMonitor = nil
|
||||
|
||||
local function identifyMonitor(monitorType)
|
||||
-- Find all available monitors
|
||||
local monitors = peripheral.find("monitor")
|
||||
local monitors = { peripheral.find("monitor") }
|
||||
|
||||
if not monitors or #monitors == 0 then
|
||||
print("No monitors found on the network.")
|
||||
|
||||
Reference in New Issue
Block a user