diff --git a/world/src/civ/mod.rs b/world/src/civ/mod.rs index e00e407078..3c870d16bf 100644 --- a/world/src/civ/mod.rs +++ b/world/src/civ/mod.rs @@ -1180,10 +1180,12 @@ impl Civs { fn castle_enemies(&self) -> Vec> { self.sites() - .filter_map(|s| match s.kind { - SiteKind::Tree | SiteKind::GiantTree => None, - _ if s.is_settlement() => None, - _ => Some(s.center), + .filter_map(|s| { + if s.is_settlement() { + None + } else { + Some(s.center) + } }) .collect() }