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)
434
434
outf . Write ( Viewer . DbfEvalAutoPilotTimeS ) ;
435
435
outf . Write ( Viewer . DbfEvalIniAutoPilotTimeS ) ;
436
436
outf . Write ( Simulator . PlayerLocomotive . DistanceM + Popups . HelpWindow . DbfEvalDistanceTravelled ) ;
437
+ outf . Write ( Viewer . DbfEvalAutoPilot ) ;
437
438
}
438
439
439
440
/// <summary>
@@ -531,6 +532,7 @@ private static void ResumeEvaluation(BinaryReader infDbfEval)
531
532
Viewer . DbfEvalAutoPilotTimeS = infDbfEval . ReadDouble ( ) ;
532
533
Viewer . DbfEvalIniAutoPilotTimeS = infDbfEval . ReadDouble ( ) ;
533
534
Popups . HelpWindow . DbfEvalDistanceTravelled = infDbfEval . ReadSingle ( ) ;
535
+ Viewer . DbfEvalAutoPilot = Viewer . PlayerLocomotive . Train . TrainType == Simulation . Physics . Train . TRAINTYPE . AI_PLAYERHOSTING ;
534
536
}
535
537
536
538
/// <summary>
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ public bool IsBeforeNoon
255
255
256
256
public static double DbfEvalAutoPilotTimeS = 0 ; //Debrief eval
257
257
public static double DbfEvalIniAutoPilotTimeS = 0 ; //Debrief eval
258
- public bool DbfEvalAutoPilot = false ; //DebriefEval
258
+ public static bool DbfEvalAutoPilot = false ; //DebriefEval
259
259
260
260
/// <summary>
261
261
/// 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