Some fixes to Cloak.IsVisible()

This commit is contained in:
penev92
2015-01-04 23:34:51 +02:00
parent e353fe5263
commit 17dfda4c9d
3 changed files with 16 additions and 11 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);