From ed3c0799d3c7b4932f16c3f6c6b9ce5f65665978 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 29 Jan 2016 02:27:43 +0100 Subject: [PATCH] Do not consider waiting harvesters to be idle --- OpenRA.Mods.Common/AI/HackyAI.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index a31ed06dab..4cdcb37f07 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -702,9 +702,7 @@ namespace OpenRA.Mods.Common.AI { var act = harvester.GetCurrentActivity(); - // A Wait activity is technically idle: - if ((act.GetType() != typeof(Wait)) && - (act.NextActivity == null || act.NextActivity.GetType() != typeof(FindResources))) + if (act.NextActivity == null || act.NextActivity.GetType() != typeof(FindResources)) continue; }