Use Refinery reference in HarvesterDockSequence

This commit is contained in:
Gustas
2023-01-12 16:46:45 +02:00
committed by abcdefg30
parent f56b0ea0d0
commit f5aa2f153a
5 changed files with 28 additions and 26 deletions

View File

@@ -91,7 +91,7 @@ namespace OpenRA.Mods.Common.Traits
public virtual Activity DockSequence(Actor harv, Actor self)
{
return new SpriteHarvesterDockSequence(harv, self, DeliveryAngle, IsDragRequired, DragOffset, DragLength);
return new SpriteHarvesterDockSequence(harv, self, this);
}
public IEnumerable<TraitPair<Harvester>> GetLinkedHarvesters()