Tidy up Activity.Cancel(), make Tick abstract
This commit is contained in:
@@ -70,10 +70,10 @@ namespace OpenRA.Mods.RA
|
||||
throw new InvalidOperationException("Invalid harvester dock state");
|
||||
}
|
||||
|
||||
protected override bool OnCancel(Actor self)
|
||||
public override void Cancel(Actor self)
|
||||
{
|
||||
state = State.Undock;
|
||||
return true;
|
||||
base.Cancel(self);
|
||||
}
|
||||
|
||||
public override IEnumerable<Target> GetTargets( Actor self )
|
||||
|
||||
Reference in New Issue
Block a user