Make Attack* traits PausableConditional and replace IsDisabled with IsTraitDisabled checks
This commit is contained in:
@@ -84,7 +84,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (IsCanceled || !target.IsValidFor(self))
|
||||
return NextActivity;
|
||||
|
||||
if (self.IsDisabled())
|
||||
if (attack.IsTraitPaused)
|
||||
return this;
|
||||
|
||||
var weapon = attack.ChooseArmamentsForTarget(target, forceAttack).FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user