File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Source/RunActivity/Viewer3D Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ private static void SaveEvaluation(BinaryWriter outf)
434434 outf . Write ( Viewer . DbfEvalAutoPilotTimeS ) ;
435435 outf . Write ( Viewer . DbfEvalIniAutoPilotTimeS ) ;
436436 outf . Write ( Simulator . PlayerLocomotive . DistanceM + Popups . HelpWindow . DbfEvalDistanceTravelled ) ;
437+ outf . Write ( Viewer . DbfEvalAutoPilot ) ;
437438 }
438439
439440 /// <summary>
@@ -531,6 +532,7 @@ private static void ResumeEvaluation(BinaryReader infDbfEval)
531532 Viewer . DbfEvalAutoPilotTimeS = infDbfEval . ReadDouble ( ) ;
532533 Viewer . DbfEvalIniAutoPilotTimeS = infDbfEval . ReadDouble ( ) ;
533534 Popups . HelpWindow . DbfEvalDistanceTravelled = infDbfEval . ReadSingle ( ) ;
535+ Viewer . DbfEvalAutoPilot = Viewer . PlayerLocomotive . Train . TrainType == Simulation . Physics . Train . TRAINTYPE . AI_PLAYERHOSTING ;
534536 }
535537
536538 /// <summary>
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ public bool IsBeforeNoon
255255
256256 public static double DbfEvalAutoPilotTimeS = 0 ; //Debrief eval
257257 public static double DbfEvalIniAutoPilotTimeS = 0 ; //Debrief eval
258- public bool DbfEvalAutoPilot = false ; //DebriefEval
258+ public static bool DbfEvalAutoPilot = false ; //DebriefEval
259259
260260 /// <summary>
261261 /// Finds time of last entry to set ReplayEndsAt and provide the Replay started message.
You can’t perform that action at this time.
0 commit comments