diff --git a/OpenRA.Mods.Common/Warheads/DamageWarhead.cs b/OpenRA.Mods.Common/Warheads/DamageWarhead.cs index 6fe3c0e887..70065bc5a1 100644 --- a/OpenRA.Mods.Common/Warheads/DamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/DamageWarhead.cs @@ -46,7 +46,7 @@ namespace OpenRA.Mods.Common.Warheads var armor = victim.TraitsImplementing() .Where(a => !a.IsTraitDisabled && a.Info.Type != null && Versus.ContainsKey(a.Info.Type) && - (shape.Info.ArmorTypes == default(BitSet) || shape.Info.ArmorTypes.Contains(a.Info.Type))) + (shape.Info.ArmorTypes.IsEmpty || shape.Info.ArmorTypes.Contains(a.Info.Type))) .Select(a => Versus[a.Info.Type]); return Util.ApplyPercentageModifiers(100, armor);