Skip to content

Commit

Permalink
Update TrainCarOperationsWebpage.cs
Browse files Browse the repository at this point in the history
Fixed bug diesel locomotive power button did not appear
  • Loading branch information
sweiland-openrails committed Nov 25, 2023
1 parent 8c8c938 commit 7fbe46c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1028,7 +1028,7 @@ private void fillStatusPower(int carPosition)
}
}

if (trainCar is MSTSElectricLocomotive)
if (trainCar is MSTSDieselLocomotive)
{
switch ((trainCar as MSTSDieselLocomotive).DieselEngines.State)
{
Expand Down

0 comments on commit 7fbe46c

Please sign in to comment.