Replaced Canceled state with Canceling state.
This commit is contained in:
@@ -73,7 +73,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
|
||||
public override Activity Tick(Actor self)
|
||||
{
|
||||
if (IsCanceled)
|
||||
if (IsCanceling)
|
||||
return NextActivity;
|
||||
|
||||
bool targetIsHiddenActor;
|
||||
@@ -145,7 +145,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
|
||||
protected virtual AttackStatus TickAttack(Actor self, AttackFrontal attack)
|
||||
{
|
||||
if (IsCanceled)
|
||||
if (IsCanceling)
|
||||
return AttackStatus.UnableToAttack;
|
||||
|
||||
if (!target.IsValidFor(self))
|
||||
|
||||
Reference in New Issue
Block a user