remove redundant assignMonitor function
This commit is contained in:
8
main.lua
8
main.lua
@@ -100,14 +100,6 @@ local function identifyMonitor(monitorType)
|
||||
}
|
||||
end
|
||||
|
||||
local function assignMonitor(monitorType, monitorData)
|
||||
if monitorType == "instrument_panel" then
|
||||
Config.Monitors.InstrumentPanelMonitor = monitorData
|
||||
elseif monitorType == "autopilot_control" then
|
||||
Config.Monitors.AutopilotControlMonitor = monitorData
|
||||
end
|
||||
end
|
||||
|
||||
-- Autopilot
|
||||
Config.Autopilot = {
|
||||
AutopilotEngaged = false,
|
||||
|
||||
Reference in New Issue
Block a user