diff --git a/OpenRA.Mods.RA/Spy.cs b/OpenRA.Mods.RA/Spy.cs index d5f87d15e5..a381444d1a 100644 --- a/OpenRA.Mods.RA/Spy.cs +++ b/OpenRA.Mods.RA/Spy.cs @@ -115,8 +115,7 @@ namespace OpenRA.Mods.RA public Color RadarColorOverride(Actor self) { - if (!Disguised || self.World.LocalPlayer == null || - self.Owner.Stances[self.World.LocalPlayer] == Stance.Ally) + if (!Disguised || self.Owner.IsAlliedWith(self.World.RenderPlayer)) return self.Owner.Color.RGB; return disguisedAsPlayer.Color.RGB;