mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 07:25:47 +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| {
|
} else if let Some(amenity) = b.amenities.iter().find(|a| {
|
||||||
if let Some(at) = AmenityType::categorize(&a.amenity_type) {
|
if let Some(at) = AmenityType::categorize(&a.amenity_type) {
|
||||||
at == AmenityType::Groceries
|
at == AmenityType::Bar
|
||||||
|
|| at == AmenityType::ConvenienceStore
|
||||||
|| at == AmenityType::Food
|
|| at == AmenityType::Food
|
||||||
|| at == AmenityType::Bar
|
|| at == AmenityType::Supermarket
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user