Don't notify when the world attacks your base.

This commit is contained in:
Paul Chote
2014-03-16 23:23:23 +13:00
parent e6c041e53f
commit 9f31304743

View File

@@ -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;