diff --git a/OpenRA.Mods.Common/AI/HackyAI.cs b/OpenRA.Mods.Common/AI/HackyAI.cs index 2694e9276f..e4a10d7783 100644 --- a/OpenRA.Mods.Common/AI/HackyAI.cs +++ b/OpenRA.Mods.Common/AI/HackyAI.cs @@ -429,9 +429,10 @@ namespace OpenRA.Mods.Common.AI public bool HasAdequateProc() { - // Require at least one refinery, unless we have no power (can't build it). + // Require at least one refinery, unless we can't build it. return CountBuildingByCommonName(Info.BuildingCommonNames.Refinery, Player) > 0 || - CountBuildingByCommonName(Info.BuildingCommonNames.Power, Player) == 0; + CountBuildingByCommonName(Info.BuildingCommonNames.Power, Player) == 0 || + CountBuildingByCommonName(Info.BuildingCommonNames.ConstructionYard, Player) == 0; } public bool HasMinimumProc()