remove redundant assignMonitor function
This commit is contained in:
8
main.lua
8
main.lua
@@ -100,14 +100,6 @@ local function identifyMonitor(monitorType)
|
|||||||
}
|
}
|
||||||
end
|
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
|
-- Autopilot
|
||||||
Config.Autopilot = {
|
Config.Autopilot = {
|
||||||
AutopilotEngaged = false,
|
AutopilotEngaged = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user