PowerdownIndicator will only show to owner and teammates
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.RA.Effects
|
|||||||
|
|
||||||
public IEnumerable<Renderable> Render()
|
public IEnumerable<Renderable> Render()
|
||||||
{
|
{
|
||||||
if (!a.Destroyed)
|
if (!a.Destroyed && a.Owner.Stances[a.Owner.World.LocalPlayer] == Stance.Ally)
|
||||||
yield return new Renderable(anim.Image,
|
yield return new Renderable(anim.Image,
|
||||||
a.CenterLocation - .5f * anim.Image.size, "chrome", (int)a.CenterLocation.Y);
|
a.CenterLocation - .5f * anim.Image.size, "chrome", (int)a.CenterLocation.Y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user