Move Shroud.IsTargetable to Player.

This commit is contained in:
Paul Chote
2015-06-13 18:27:00 +01:00
parent 1eb1841f2b
commit 0677c309f3
7 changed files with 26 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.RA.Traits
public void Infiltrated(Actor self, Actor infiltrator)
{
infiltrator.Owner.Shroud.Explore(self.Owner.Shroud);
if (!self.Owner.Shroud.HasFogVisibility())
if (!self.Owner.HasFogVisibility)
self.Owner.Shroud.ResetExploration();
}
}