diff --git a/LibCarla/source/carla/road/MapBuilder.cpp b/LibCarla/source/carla/road/MapBuilder.cpp index 340af829c..84602b725 100644 --- a/LibCarla/source/carla/road/MapBuilder.cpp +++ b/LibCarla/source/carla/road/MapBuilder.cpp @@ -194,10 +194,10 @@ namespace road { lc = RoadInfoMarkRecord::LaneChange::Increase; } else if (lane_change == "decrease") { lc = RoadInfoMarkRecord::LaneChange::Decrease; - } else if (lane_change == "both") { - lc = RoadInfoMarkRecord::LaneChange::Both; - } else { + } else if (lane_change == "none") { lc = RoadInfoMarkRecord::LaneChange::None; + } else { + lc = RoadInfoMarkRecord::LaneChange::Both; } _temp_lane_info_container[lane].emplace_back(std::make_unique(s, road_mark_id, type, weight, color,