File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Source/Orts.Simulation/Simulation/Timetables Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ public bool PreProcessRoutes(CancellationToken cancellation)
11601160 {
11611161 // read route
11621162 bool pathValid = true ;
1163- LoadPathNoClone ( thisRoute , out pathValid ) ;
1163+ LoadPath ( thisRoute , out pathValid ) ;
11641164 if ( ! pathValid ) allPathsLoaded = false ;
11651165 if ( cancellation . IsCancellationRequested )
11661166 return ( false ) ;
@@ -1176,8 +1176,7 @@ public bool PreProcessRoutes(CancellationToken cancellation)
11761176 /// <param name="pathstring"></param>
11771177 /// <param name="validPath"></param>
11781178 /// <returns></returns>
1179- public AIPath LoadPath ( string pathstring , out bool validPath ) => new AIPath ( LoadPathNoClone ( pathstring , out validPath ) ) ;
1180- public AIPath LoadPathNoClone ( string pathstring , out bool validPath )
1179+ public AIPath LoadPath ( string pathstring , out bool validPath )
11811180 {
11821181 validPath = true ;
11831182
You can’t perform that action at this time.
0 commit comments