Activity.Cancel returns void instead of bool.

This commit is contained in:
tovl
2019-03-09 15:49:12 +01:00
committed by Paul Chote
parent a17cd0fa06
commit 705795abde
13 changed files with 31 additions and 63 deletions

View File

@@ -81,10 +81,10 @@ namespace OpenRA.Mods.Common.Activities
throw new InvalidOperationException("Invalid harvester dock state");
}
public override bool Cancel(Actor self, bool keepQueue = false)
public override void Cancel(Actor self, bool keepQueue = false)
{
dockingState = DockingState.Undock;
return base.Cancel(self);
base.Cancel(self);
}
public override IEnumerable<Target> GetTargets(Actor self)