Rework harvester automation.
This commit is contained in:
@@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (!h.Key.IsIdle)
|
||||
{
|
||||
var act = h.Key.CurrentActivity;
|
||||
if (!h.Value.Harvester.LastSearchFailed || act.NextActivity == null || act.NextActivity.GetType() != typeof(FindResources))
|
||||
if (!h.Value.Harvester.LastSearchFailed || act.NextActivity == null || act.NextActivity.GetType() != typeof(FindAndDeliverResources))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user