Skip to content

Commit

Permalink
Next station window button always enabled, too difficult to determine…
Browse files Browse the repository at this point in the history
… if window has valid information
  • Loading branch information
sweiland-openrails committed Jul 13, 2023
1 parent 19dc744 commit 61bbf43
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -86,14 +86,6 @@ public void init(UserCommand userCommand)
init1(ORTS.Common.Input.UserCommand.ControlTractionCutOffRelayClosingOrder);
break;

case ORTS.Common.Input.UserCommand.DisplayNextStationWindow:
Orts.Simulation.Activity act = Viewer.Simulator.ActivityRun;
if ((act != null) && (act.EventList.Count) > 0)
init1(ORTS.Common.Input.UserCommand.DisplayNextStationWindow);
else
init0(ORTS.Common.Input.UserCommand.DisplayNextStationWindow);
break;

case ORTS.Common.Input.UserCommand.ControlHeadlightIncrease:
init2(ORTS.Common.Input.UserCommand.ControlHeadlightIncrease, ORTS.Common.Input.UserCommand.ControlHeadlightDecrease);
break;
Expand Down

0 comments on commit 61bbf43

Please sign in to comment.