diff --git a/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs b/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs index 7c53fa5466..7def1b2376 100644 --- a/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs +++ b/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs @@ -38,6 +38,10 @@ namespace OpenRA.Mods.RA if (!self.HasTrait()) return; + /* don't track self-damage */ + if (e.Attacker != null && e.Attacker.Owner == self.Owner) + return; + if (self.World.FrameNumber - lastAttackTime > info.NotifyInterval * 25) Sound.PlayToPlayer(self.Owner, info.Audio);