diff --git a/main.lua b/main.lua index 8039e42..be508e7 100644 --- a/main.lua +++ b/main.lua @@ -60,7 +60,7 @@ Config.Monitors = {} Config.Monitors.InstrumentPanelMonitor = nil Config.Monitors.AutopilotControlMonitor = nil -function identifyMonitor(monitorType) +local function identifyMonitor(monitorType) -- Find all available monitors local monitors = peripheral.find("monitor") @@ -101,7 +101,7 @@ function identifyMonitor(monitorType) } end -function assignMonitor(monitorType, monitorData) +local function assignMonitor(monitorType, monitorData) if monitorType == "instrument_panel" then Config.Monitors.InstrumentPanelMonitor = monitorData elseif monitorType == "autopilot_control" then