change identifyMonitor to be more like the peripheral.find() documentation

This commit is contained in:
2026-06-25 14:44:41 -05:00
parent 3c43c747b0
commit 19ee451b3d

View File

@@ -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.")