Further untangle (and - hopefully - fix) the afterLandActivity mess

This commit is contained in:
abcdefg30
2018-08-31 07:36:31 +02:00
committed by Paul Chote
parent 7e20bdd7ea
commit db58b35856
3 changed files with 3 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Mods.Common.Activities
if (self.Location != proc.Location + iao.DeliveryOffset)
{
foreach (var n in self.TraitsImplementing<INotifyHarvesterAction>())
n.MovingToRefinery(self, proc, this);
n.MovingToRefinery(self, proc, null);
return ActivityUtils.SequenceActivities(movement.MoveTo(proc.Location + iao.DeliveryOffset, 0), this);
}