Skip to content

Commit af9adcd

Browse files
committed
Disable independent brake syncing by default
Activating it by default breaks the behaviour of almost all UIC locomotives
1 parent 597ce24 commit af9adcd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public float OdometerM
448448
public bool DPSyncTrainApplication { get; private set; }
449449
public bool DPSyncTrainRelease { get; private set; }
450450
public bool DPSyncEmergency { get; private set; }
451-
public bool DPSyncIndependent { get; private set; } = true;
451+
public bool DPSyncIndependent { get; private set; }
452452

453453
protected const float DefaultCompressorRestartToMaxSysPressureDiff = 35; // Used to check if difference between these two .eng parameters is correct, and to correct it
454454
protected const float DefaultMaxMainResToCompressorRestartPressureDiff = 10; // Used to check if difference between these two .eng parameters is correct, and to correct it
@@ -1160,8 +1160,6 @@ public override void Parse(string lowercasetoken, STFReader stf)
11601160
DPSyncEmergency = true;
11611161
if (dpSyncModes.Contains("independent"))
11621162
DPSyncIndependent = true;
1163-
else // Independent synchronization is assumed to be enabled unless explicitly not enabled
1164-
DPSyncIndependent = false;
11651163
break;
11661164
case "engine(ortsdynamicblendingoverride": DynamicBrakeBlendingOverride = stf.ReadBoolBlock(false); break;
11671165
case "engine(ortsdynamicblendingforcematch": DynamicBrakeBlendingForceMatch = stf.ReadBoolBlock(false); break;

0 commit comments

Comments
 (0)