internal void ChangeLightMode(ushort segmentId, ExtVehicleType vehicleType, CustomSegmentLight.Mode mode)
 {
     foreach (TimedTrafficLightsStep step in Steps)
     {
         step.ChangeLightMode(segmentId, vehicleType, mode);
     }
 }
        internal void ChangeLightMode(ushort segmentId, ExtVehicleType vehicleType, CustomSegmentLight.Mode mode)
        {
            CustomSegmentLight light = segmentLights[segmentId].GetCustomLight(vehicleType);

            if (light != null)
            {
                light.CurrentMode = mode;
            }
        }