diff --git a/OpenRA.Mods.Common/Traits/Husk.cs b/OpenRA.Mods.Common/Traits/Husk.cs index 06c3112f18..f47773f282 100644 --- a/OpenRA.Mods.Common/Traits/Husk.cs +++ b/OpenRA.Mods.Common/Traits/Husk.cs @@ -215,7 +215,7 @@ namespace OpenRA.Mods.Common.Traits void CrushAction(Actor self, WPos position, Func>> action) { - if (info == null || !info.Crushes.Any()) + if (info == null || info.Crushes.IsEmpty) return; var crushables = self.World.ActorMap.GetActorsAt(self.World.Map.CellContaining(position)).Where(a => a != self)