Merge pull request #7276 from penev92/bleed_fixAttack

Minor targeting cleanup
This commit is contained in:
Oliver Brakmann
2015-01-12 18:48:18 +01:00
4 changed files with 16 additions and 19 deletions

View File

@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Common.Traits
public virtual bool TargetableBy(Actor self, Actor viewer)
{
if (cloak == null || !cloak.Cloaked)
if (cloak == null)
return true;
return cloak.IsVisible(self, viewer.Owner);