Skip to content

Commit bb031b7

Browse files
authored
Update Signals.cs
1 parent fa6baae commit bb031b7

File tree

1 file changed

+2
-4
lines changed
  • Source/Orts.Simulation/Simulation/Signalling

1 file changed

+2
-4
lines changed

Source/Orts.Simulation/Simulation/Signalling/Signals.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,8 @@ public void Update(bool preUpdate)
567567

568568
if (foundSignals > 0)
569569
{
570-
// loop through all signals
571-
``` // loop through all the signals, but only one batch of signals with every call to this method.
572-
// update required part
573-
``` // update one batch of signals. Batch ends when time taken exceeds 1/20th of time for all signals.
570+
// loop through all the signals, but only one batch of signals with every call to this method.
571+
// update one batch of signals. Batch ends when time taken exceeds 1/20th of time for all signals.
574572
// Processing 1/20th of signals in each batch gave a jerky result as processing time varies greatly.
575573
// Smoother results now that equal time is given to each batch and let the batch size vary.
576574
var updates = 0;

0 commit comments

Comments
 (0)