Skip to content

Commit 7fbe46c

Browse files
Update TrainCarOperationsWebpage.cs
Fixed bug diesel locomotive power button did not appear
1 parent 8c8c938 commit 7fbe46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/WebServices/TrainCarOperationsWebpage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ private void fillStatusPower(int carPosition)
10281028
}
10291029
}
10301030

1031-
if (trainCar is MSTSElectricLocomotive)
1031+
if (trainCar is MSTSDieselLocomotive)
10321032
{
10331033
switch ((trainCar as MSTSDieselLocomotive).DieselEngines.State)
10341034
{

0 commit comments

Comments
 (0)