Make (Harvester|Base)AttackNotifiers visible to team mates and spectators

This commit is contained in:
Oliver Brakmann
2015-09-09 21:40:21 +02:00
parent ff10fe3e07
commit 379b5a181f
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Mods.Common.Traits
Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Speech", info.Notification, self.Owner.Faction.InternalName);
if (radarPings != null)
radarPings.Add(() => self.Owner == self.World.LocalPlayer, self.CenterPosition, info.RadarPingColor, info.RadarPingDuration);
radarPings.Add(() => self.Owner.IsAlliedWith(self.World.RenderPlayer), self.CenterPosition, info.RadarPingColor, info.RadarPingDuration);
}
lastAttackTime = self.World.WorldTick;