diff --git a/src/Managers/ConfigManager.cs b/src/Managers/ConfigManager.cs index 1f13eb2..eae5311 100644 --- a/src/Managers/ConfigManager.cs +++ b/src/Managers/ConfigManager.cs @@ -175,7 +175,10 @@ namespace OpenbveFcmbTrainPlugin switch (Key) { case "enabled": - PluginSettings.AtcBombardierDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0; + if (!PluginSettings.AtcDimetronicDeviceEnabled) + { + PluginSettings.AtcBombardierDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0; + } break; case "initializationtime": { @@ -215,7 +218,10 @@ namespace OpenbveFcmbTrainPlugin switch (Key) { case "enabled": - PluginSettings.AtcDimetronicDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0; + if (!PluginSettings.AtcBombardierDeviceEnabled) + { + PluginSettings.AtcDimetronicDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0; + } break; case "yardspeedlimit": {