Navigation Menu

Skip to content

Commit

Permalink
Work around harvester unloading activity queue issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote authored and reaperrr committed Mar 2, 2019
1 parent 8b618ef commit 666d2e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion OpenRA.Mods.Common/Activities/FindResources.cs
Expand Up @@ -53,7 +53,10 @@ public override Activity Tick(Actor self)
return NextActivity;

if (harv.IsFull)
return ActivityUtils.SequenceActivities(new DeliverResources(self), NextActivity);
{
// HACK: DeliverResources is ignored if there are queued activities, so discard NextActivity
return ActivityUtils.SequenceActivities(new DeliverResources(self));
}

var closestHarvestablePosition = ClosestHarvestablePos(self);

Expand Down

0 comments on commit 666d2e7

Please sign in to comment.