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)
|
switch (Key)
|
||||||
{
|
{
|
||||||
case "enabled":
|
case "enabled":
|
||||||
PluginSettings.AtcBombardierDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0;
|
if (!PluginSettings.AtcDimetronicDeviceEnabled)
|
||||||
|
{
|
||||||
|
PluginSettings.AtcBombardierDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "initializationtime":
|
case "initializationtime":
|
||||||
{
|
{
|
||||||
|
@ -215,7 +218,10 @@ namespace OpenbveFcmbTrainPlugin
|
||||||
switch (Key)
|
switch (Key)
|
||||||
{
|
{
|
||||||
case "enabled":
|
case "enabled":
|
||||||
PluginSettings.AtcDimetronicDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0;
|
if (!PluginSettings.AtcBombardierDeviceEnabled)
|
||||||
|
{
|
||||||
|
PluginSettings.AtcDimetronicDeviceEnabled = string.Compare(Value, "false", StringComparison.OrdinalIgnoreCase) != 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "yardspeedlimit":
|
case "yardspeedlimit":
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue