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:
Dustin Carlino 2021-02-27 14:50:55 -08:00
parent bce3318605
commit fd41d0c573

View File

@ -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();