Skip to content

Commit

Permalink
Update Receivers in Viewer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Roeterdink committed Jan 21, 2023
1 parent 3ffb9bc commit 7b6af67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/RunActivity/Viewer3D/Viewer.cs
@@ -1,4 +1,4 @@
// COPYRIGHT 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 by the Open Rails project.
// COPYRIGHT 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 by the Open Rails project.
//
// This file is part of Open Rails.
//
Expand Down Expand Up @@ -1670,6 +1670,7 @@ void PlayerTrainChanged(object sender, Simulator.PlayerTrainChangedEventArgs e)
if (SelectedTrain == e.OldTrain)
{
SelectedTrain = e.NewTrain;
SetCommandReceivers();
}
}

Expand Down

0 comments on commit 7b6af67

Please sign in to comment.