Allow cancelling an activity without aborting the entire queue
This commit is contained in:
committed by
Paul Chote
parent
3111b2cf9b
commit
f9951f76ca
@@ -112,7 +112,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
inner.Cancel(self);
|
||||
}
|
||||
|
||||
public override bool Cancel(Actor self)
|
||||
public override bool Cancel(Actor self, bool keepQueue = false)
|
||||
{
|
||||
AbortOrExit(self);
|
||||
if (nextState < EnterState.Exiting)
|
||||
|
||||
Reference in New Issue
Block a user