diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index 5f24b6a348..5bc2c9d482 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -683,7 +683,7 @@ namespace OpenRA.Mods.Common.AI IEnumerable GetVisibleActorsBelongingToPlayer(Player owner) { foreach (var actor in GetActorsThatCanBeOrderedByPlayer(owner)) - if (actor.CanBeViewedByPlayer(owner)) + if (actor.CanBeViewedByPlayer(Player)) yield return actor; }