Activity.Cancel returns void instead of bool.
This commit is contained in:
@@ -43,11 +43,11 @@ namespace OpenRA.Mods.Common.Activities
|
||||
return NextActivity;
|
||||
}
|
||||
|
||||
public override bool Cancel(Actor self, bool keepQueue = false)
|
||||
public override void Cancel(Actor self, bool keepQueue = false)
|
||||
{
|
||||
base.Cancel(self, keepQueue);
|
||||
Dispose();
|
||||
return true;
|
||||
return;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user