Skip to content

Commit

Permalink
fix map_editor and headless build break, for a-b-street#108
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Jun 30, 2020
1 parent 2c7440b commit 6696263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion headless/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() {
&mut timer,
);
ScenarioModifier::RepeatDays(num_days)
.apply(base_scenario)
.apply(base_scenario, &mut rng)
.instantiate(&mut sim, &map, &mut rng, &mut timer);
timer.done();

Expand Down
1 change: 1 addition & 0 deletions map_editor/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ impl Model {
LaneType::Biking => Color::rgb(15, 125, 75),
LaneType::SharedLeftTurn => Color::YELLOW,
LaneType::Construction => Color::rgb(255, 109, 0),
LaneType::LightRail => Color::hex("#844204"),
};
if unset {
Color::rgba_f(0.9, color.g, color.b, 0.5)
Expand Down

0 comments on commit 6696263

Please sign in to comment.