Fix typo in HarvesterAttackNotifier

This commit is contained in:
JovialFeline
2024-07-29 13:18:37 -04:00
committed by abcdefg30
parent 0649f3dc32
commit 5164a11c15
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly int RadarPingDuration = 250; public readonly int RadarPingDuration = 250;
[Desc("Exclude damage types (defined on the warheads) that trigger Notification.")] [Desc("Exclude damage types (defined on the warheads) that trigger Notification.")]
public readonly BitSet<DamageType> ExludeDamageTypes = default; public readonly BitSet<DamageType> ExcludeDamageTypes = default;
[NotificationReference("Speech")] [NotificationReference("Speech")]
[Desc("Speech notification type to play.")] [Desc("Speech notification type to play.")]
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
void INotifyDamage.Damaged(Actor self, AttackInfo e) 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; return;
// Don't track self-damage // Don't track self-damage

View File

@@ -133,7 +133,7 @@ Player:
Prerequisites: global-auto-concrete Prerequisites: global-auto-concrete
FrozenActorLayer: FrozenActorLayer:
HarvesterAttackNotifier: HarvesterAttackNotifier:
ExludeDamageTypes: SpiceExplosion ExcludeDamageTypes: SpiceExplosion
TextNotification: notification-harvester-under-attack TextNotification: notification-harvester-under-attack
PlayerStatistics: PlayerStatistics:
PlaceBeacon: PlaceBeacon: