diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/PCCSegmentPreprocessor.cs b/VectoCore/VectoCore/Models/Simulation/Impl/PCCSegmentPreprocessor.cs index fa963140e55e0e9b7c89840e8bdcd8a7592f2877..a69195a5b6fd77b10ebefbf1acc35824466907d6 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/PCCSegmentPreprocessor.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/PCCSegmentPreprocessor.cs @@ -62,7 +62,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl // pcc is only applicable on highway sections if (!start.Highway) { pccSegment = null; - continue; + targetSpeedChanged = end.Distance; + continue; } // only consider pcc segments where the target speed is at least the pcc-enable speed