From 460696192bbf9c9b0342d3af4933db01f971ce19 Mon Sep 17 00:00:00 2001 From: Curtis S Date: Sat, 10 Sep 2011 22:38:19 -0600 Subject: [PATCH] PowerdownIndicator will only show to owner and teammates --- OpenRA.Mods.RA/Effects/PowerdownIndicator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/Effects/PowerdownIndicator.cs b/OpenRA.Mods.RA/Effects/PowerdownIndicator.cs index a341ccd713..d15c95849e 100644 --- a/OpenRA.Mods.RA/Effects/PowerdownIndicator.cs +++ b/OpenRA.Mods.RA/Effects/PowerdownIndicator.cs @@ -36,7 +36,7 @@ namespace OpenRA.Mods.RA.Effects public IEnumerable Render() { - if (!a.Destroyed) + if (!a.Destroyed && a.Owner.Stances[a.Owner.World.LocalPlayer] == Stance.Ally) yield return new Renderable(anim.Image, a.CenterLocation - .5f * anim.Image.size, "chrome", (int)a.CenterLocation.Y); }