Merge pull request #9307 from obrakmann/fix6174_beacon-key-in-replays

Make some navigation keys available to spectators
This commit is contained in:
Paul Chote
2015-09-26 11:30:50 +01:00
3 changed files with 10 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Mods.Common.Traits
Game.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;