From 9f3130474395cf08f4aebdd8082b016094a8a017 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 16 Mar 2014 23:23:23 +1300 Subject: [PATCH] Don't notify when the world attacks your base. --- OpenRA.Mods.RA/Player/BaseAttackNotifier.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs b/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs index 8a9b02d40f..273eeec2c4 100644 --- a/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs +++ b/OpenRA.Mods.RA/Player/BaseAttackNotifier.cs @@ -49,6 +49,9 @@ namespace OpenRA.Mods.RA if (e.Attacker.Owner == self.Owner) return; + if (e.Attacker == self.World.WorldActor) + return; + if (e.Attacker.Owner.IsAlliedWith(self.Owner) && e.Damage <= 0) return;