Config: Resolve ATC conflict
This commit is contained in:
parent
7f3388b24a
commit
ebb673c4d5
1 changed files with 8 additions and 2 deletions
|
@ -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":
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue