Fix AbortOnResupply not working
Going by yaml rules, all(!) aircraft in the shipping mods should be aborting any previous activities on resupply. None actually did, due to this bug.
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
resupplied = false;
|
resupplied = false;
|
||||||
|
|
||||||
if (resupplied && abortOnResupply)
|
if (resupplied && abortOnResupply)
|
||||||
Cancel(self);
|
self.CancelActivity();
|
||||||
|
|
||||||
if (resupplied || IsCanceling || self.IsDead)
|
if (resupplied || IsCanceling || self.IsDead)
|
||||||
return NextActivity;
|
return NextActivity;
|
||||||
|
|||||||
Reference in New Issue
Block a user