mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 23:15:24 +03:00
Fix Santa
This commit is contained in:
parent
6d4545eacb
commit
c9be865966
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user