fix #3569 , and possible many other bugs... if the place is not close to the base, instead of returning the error, continue to see if there is another place to build
This commit is contained in:
@@ -949,7 +949,7 @@ namespace OpenRA.Mods.RA.AI
|
||||
{
|
||||
if (distanceToBaseIsImportant)
|
||||
if (!bi.IsCloseEnoughToBase(world, p, actorType, t))
|
||||
return null;
|
||||
continue;
|
||||
if (NoBuildingsUnder(Util.ExpandFootprint(FootprintUtils.Tiles(actorType, bi, t), false)))
|
||||
return t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user