Merge pull request #5924 from Cr0s/patch-1

Fixed typo in HackyAI building placement code
This commit is contained in:
Paul Chote
2014-07-11 18:07:32 +12:00

View File

@@ -296,7 +296,7 @@ namespace OpenRA.Mods.RA.AI
// Sort by distance to target if we have one
if (center != target)
cells = cells.OrderBy(c => (center - target).LengthSquared);
cells = cells.OrderBy(c => (c - target).LengthSquared);
else
cells = cells.Shuffle(random);