Skip to content

Commit 08834b4

Browse files
committed
Automatic merge of T1.6-rc6-37-g6dd094783 and 16 pull requests
- Pull request #1086 at e10390b: Add Settings Exporter tool (copy settings to INI, etc) - Pull request #1104 at 86d38a2: Handle simple adhesion within the axle module - Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached - Pull request #1120 at ba3c47f: Automatically Calculate Friction Values if Missing - Pull request #1121 at 91d2d26: Manually Override Articulation - Pull request #1130 at 8ae6bb7: Fix F9 points to an incorrect car ID. - Pull request #1139 at 03c6f8f: Fix for bug https://bugs.launchpad.net/or/+bug/2117357. - Pull request #1142 at a24747c: Fix Light Position Calculation for Deeper Hierarchy Levels - Pull request #1143 at 71e57d2: Status in Work Orders popup set too fast - Pull request #1144 at cd790b9: update Spanish translations - Pull request #1145 at 875b084: Content Manager: Fix exception when searching; path was added twice to search list. - Pull request #1146 at ec44b47: Fix for pantograph events not sent in AI trains - Pull request #1082 at 5845a1a: Allow variable water level in glass gauge - Pull request #1081 at 689494b: Brake cuts power unification - Pull request #1124 at fab5457: Built-in PBL2 brake controller - Pull request #1128 at 58de4c3: Particle Emitter Overhaul
18 parents c651d35 + 6dd0947 + e10390b + 86d38a2 + 270f22f + ba3c47f + 91d2d26 + 8ae6bb7 + 03c6f8f + a24747c + 71e57d2 + cd790b9 + 875b084 + ec44b47 + 5845a1a + 689494b + fab5457 + 58de4c3 commit 08834b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Common/Scripting/PowerSupply/LocomotivePowerSupply.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ protected void SignalEventToOtherTrainVehicles(PowerSupplyEvent evt)
395395
/// </summary>
396396
protected void SignalEventToOtherTrainVehiclesWithId(PowerSupplyEvent evt, int id)
397397
{
398-
if (Locomotive == Train.LeadLocomotive)
398+
if (Locomotive == Train.LeadLocomotive || (Train.LeadLocomotive == null && IndexOfLocomotive() == 0))
399399
{
400400
foreach (TrainCar car in Train.Cars)
401401
{

0 commit comments

Comments
 (0)