@@ -91,7 +91,7 @@ protected override ControlLayout Layout(ControlLayout layout)
91
91
line . Add ( viewed = new TrainLabel ( Owner . TextFontDefault . Height , line . RemainingHeight , Owner . Viewer , thisTrain , "*" , LabelAlignment . Right ) ) ;
92
92
viewed . Color = Color . Red ;
93
93
}
94
- if ( Owner . Viewer . Simulator . IsAutopilotMode )
94
+ if ( Owner . Viewer . Simulator . IsAutopilotMode && ! Owner . Viewer . Simulator . TimetableMode )
95
95
{
96
96
number . Color = thisTrain . IsPlayable ? Color . LightGreen : Color . White ;
97
97
name . Color = thisTrain . IsPlayable ? Color . LightGreen : Color . White ;
@@ -110,7 +110,7 @@ protected override ControlLayout Layout(ControlLayout layout)
110
110
}
111
111
112
112
// Now list static trains with loco and cab
113
- if ( Owner . Viewer . Simulator . IsAutopilotMode )
113
+ if ( Owner . Viewer . Simulator . IsAutopilotMode && ! Owner . Viewer . Simulator . TimetableMode )
114
114
{
115
115
foreach ( var thisTrain in Owner . Viewer . Simulator . Trains )
116
116
{
@@ -181,9 +181,9 @@ void TrainListLabel_Click(Control arg1, Point arg2)
181
181
}
182
182
if ( PickedTrainFromList != null && ( PickedTrainFromList == Viewer . SelectedTrain || ( PickedTrainFromList . TrainType == Train . TRAINTYPE . AI_INCORPORATED &&
183
183
( PickedTrainFromList as AITrain ) . IncorporatingTrain . IsPathless && ( PickedTrainFromList as AITrain ) . IncorporatingTrain == Viewer . SelectedTrain ) ) && ! PickedTrainFromList . IsActualPlayerTrain &&
184
- Viewer . Simulator . IsAutopilotMode && PickedTrainFromList . IsPlayable )
184
+ Viewer . Simulator . IsAutopilotMode && PickedTrainFromList . IsPlayable && ! Viewer . Simulator . TimetableMode )
185
185
{
186
- if ( UserInput . IsDown ( UserCommand . GameSuspendOldPlayer ) )
186
+ if ( UserInput . IsDown ( UserCommand . GameSuspendOldPlayer ) && ! Viewer . Simulator . TimetableMode )
187
187
Viewer . Simulator . TrainSwitcher . SuspendOldPlayer = true ;
188
188
//Ask for change of driven train
189
189
Viewer . Simulator . TrainSwitcher . SelectedAsPlayer = PickedTrainFromList ;
0 commit comments