Rearming aircraft now reapplies rearming order if canceled on landing structure
- Implemented by making the ResupplyAircraft activity recreate a new resupply activity if cancelled and also having no other queued activities. - Tested in TD, RA, TS.
This commit is contained in:
@@ -50,6 +50,10 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
|
|
||||||
public override Activity Tick(Actor self)
|
public override Activity Tick(Actor self)
|
||||||
{
|
{
|
||||||
|
// Conditional fixes being able to stop aircraft from resupplying.
|
||||||
|
if (IsCanceled && NextInQueue == null)
|
||||||
|
OnFirstRun(self);
|
||||||
|
|
||||||
return NextActivity;
|
return NextActivity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user