dont even give option to edit sidewalks, since that doesnt work
@@ -48,6 +48,7 @@ impl RoadEditor {
let road = map.get_r(lane.parent);
let reason = EditReason::BasemapWrong; // TODO be able to choose
+ if lane.lane_type != LaneType::Sidewalk {
if lane.lane_type != LaneType::Driving
&& input.key_pressed(Key::D, "make this a driving lane")
{
@@ -71,7 +72,10 @@ impl RoadEditor {
}
if input.key_pressed(Key::Backspace, "delete this lane") {
if edits.delete_lane(road, lane) {
- warn!("Have to reload the map from scratch to pick up this change!");
+ warn!(
+ "Have to reload the map from scratch to pick up this change!"
+ );
+ }
}
}
}
