Fix Santa

This commit is contained in:
Dustin Carlino 2021-05-06 14:12:45 -07:00
parent 6d4545eacb
commit c9be865966

View File

@ -73,9 +73,10 @@ impl Buildings {
}
} else if let Some(amenity) = b.amenities.iter().find(|a| {
if let Some(at) = AmenityType::categorize(&a.amenity_type) {
at == AmenityType::Groceries
at == AmenityType::Bar
|| at == AmenityType::ConvenienceStore
|| at == AmenityType::Food
|| at == AmenityType::Bar
|| at == AmenityType::Supermarket
} else {
false
}