Skip to content

Commit

Permalink
Fix attack behaviour of disabled units
Browse files Browse the repository at this point in the history
  • Loading branch information
extmind authored and reaperrr committed Mar 3, 2019
1 parent be741ce commit 32abeda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Traits/Attack/AttackBase.cs
Expand Up @@ -350,7 +350,7 @@ public IEnumerable<Armament> ChooseArmamentsForTarget(Target t, bool forceAttack

public void AttackTarget(Target target, bool queued, bool allowMove, bool forceAttack = false)
{
if (IsTraitDisabled || IsTraitPaused)
if (IsTraitDisabled)
return;

if (!target.IsValidFor(self))
Expand Down

0 comments on commit 32abeda

Please sign in to comment.