Skip to content

Commit bfb0d9e

Browse files
CsantuccicesarBLG
andauthored
Update Source/Orts.Simulation/Common/Commands.cs
Co-authored-by: César Benito Lamata <cesarbema2009@hotmail.com>
1 parent 75bf3a4 commit bfb0d9e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Source/Orts.Simulation/Common/Commands.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,10 +2174,7 @@ public EOTCommTestCommand(CommandLog log)
21742174

21752175
public override void Redo()
21762176
{
2177-
if (Receiver?.Train?.EOT != null)
2178-
{
2179-
Receiver.Train.EOT.CommTest();
2180-
}
2177+
Receiver?.Train?.EOT?.CommTest();
21812178
}
21822179
}
21832180

0 commit comments

Comments
 (0)