Remove Player.CanViewActor and .CanTargetActor.
This commit is contained in:
@@ -79,7 +79,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
continue;
|
||||
|
||||
// The actor is not currently visible
|
||||
if (!self.Owner.CanViewActor(actor.Actor))
|
||||
if (!actor.Actor.CanBeViewedByPlayer(self.Owner))
|
||||
continue;
|
||||
|
||||
visibleActorIds.Add(actor.Actor.ActorID);
|
||||
|
||||
Reference in New Issue
Block a user