diff --git a/OpenRA.Mods.Common/Traits/Player/HarvesterAttackNotifier.cs b/OpenRA.Mods.Common/Traits/Player/HarvesterAttackNotifier.cs index 5939a80a4a..91e18ff96f 100644 --- a/OpenRA.Mods.Common/Traits/Player/HarvesterAttackNotifier.cs +++ b/OpenRA.Mods.Common/Traits/Player/HarvesterAttackNotifier.cs @@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Traits public readonly int RadarPingDuration = 250; [Desc("Exclude damage types (defined on the warheads) that trigger Notification.")] - public readonly BitSet ExludeDamageTypes = default; + public readonly BitSet ExcludeDamageTypes = default; [NotificationReference("Speech")] [Desc("Speech notification type to play.")] @@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits void INotifyDamage.Damaged(Actor self, AttackInfo e) { - if (!info.ExludeDamageTypes.IsEmpty && e.Damage.DamageTypes.Overlaps(info.ExludeDamageTypes)) + if (!info.ExcludeDamageTypes.IsEmpty && e.Damage.DamageTypes.Overlaps(info.ExcludeDamageTypes)) return; // Don't track self-damage diff --git a/mods/d2k/rules/player.yaml b/mods/d2k/rules/player.yaml index 8b2d8926bf..f9f31681c0 100644 --- a/mods/d2k/rules/player.yaml +++ b/mods/d2k/rules/player.yaml @@ -133,7 +133,7 @@ Player: Prerequisites: global-auto-concrete FrozenActorLayer: HarvesterAttackNotifier: - ExludeDamageTypes: SpiceExplosion + ExcludeDamageTypes: SpiceExplosion TextNotification: notification-harvester-under-attack PlayerStatistics: PlaceBeacon: