Harvesters return to last used field
This commit is contained in:
@@ -36,6 +36,7 @@ namespace OpenRA.Mods.RA.Activities
|
||||
if( NextActivity != null ) return NextActivity;
|
||||
|
||||
var harv = self.traits.Get<Harvester>();
|
||||
harv.LastHarvestedCell = self.Location;
|
||||
|
||||
if( harv.IsFull )
|
||||
return new DeliverResources { NextActivity = NextActivity };
|
||||
|
||||
Reference in New Issue
Block a user