mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-25 11:44:25 +03:00
Fix missing study areas in some actdev maps. It was just me accidentally passing in the site name with underscores.
I verified all sites have a study area showing up.
This commit is contained in:
parent
bce3318605
commit
fd41d0c573
@ -95,6 +95,9 @@ pub fn main() {
|
||||
let center_camera = args.optional("--cam");
|
||||
|
||||
if let Some(site) = args.optional("--actdev") {
|
||||
// Handle if the site was accidentally passed in with underscores. Otherwise, some study
|
||||
// areas won't be found!
|
||||
let site = site.replace("_", "-");
|
||||
let city = site.replace("-", "_");
|
||||
let name = MapName::new("gb", &city, "center");
|
||||
flags.sim_flags.load = name.path();
|
||||
|
Loading…
Reference in New Issue
Block a user