fix TSLA firing in low power or disabled
This commit is contained in:
@@ -71,6 +71,7 @@ namespace OpenRA.Traits
|
||||
{
|
||||
if (target == null) return false;
|
||||
if ((primaryFireDelay > 0) && (secondaryFireDelay > 0)) return false;
|
||||
if (self.traits.WithInterface<IDisable>().Any(d => d.Disabled)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user