We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3fb566e + 3dbe81f commit 54d55cfCopy full SHA for 54d55cf
Source/Orts.Simulation/Simulation/Simulator.cs
@@ -1955,13 +1955,14 @@ private void StartSwitchPlayerTrain()
1955
TrainSwitcher.ClickedSelectedAsPlayer = false;
1956
return;
1957
}
1958
- if (playerTrain.TrainType == Train.TRAINTYPE.AI_PLAYERDRIVEN || !playerTrain.Autopilot)
+ if (playerTrain.TrainType == Train.TRAINTYPE.AI_PLAYERDRIVEN || TimetableMode && !playerTrain.Autopilot)
1959
{
1960
// it must be autopiloted first
1961
playerTrain.SwitchToAutopilotControl();
1962
1963
// and now switch!
1964
playerTrain.TrainType = Train.TRAINTYPE.AI;
1965
+ if (!TimetableMode) AI.AITrains.Add(playerTrain);
1966
playerTrain.Autopilot = false;
1967
if (TrainSwitcher.SuspendOldPlayer)
1968
0 commit comments