Skip to content

Commit 759bd77

Browse files
authored
Merge pull request #495 from Sharpe49/power-supply-fix-toggle-player-engine
Fixed a mistake in SignalEventToHelperEngines
2 parents fb27f31 + e2a986e commit 759bd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/LocomotivePowerSupply.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ protected virtual void AssignScriptFunctions()
392392
helperFound = true;
393393
}
394394

395-
locomotive.DieselEngines.HandleEvent(evt);
395+
locomotive.DieselEngines.HandleEvent(evt, i);
396396
}
397397
}
398398
else

0 commit comments

Comments
 (0)