diff --git a/OpenRA.Mods.Common/Traits/BotModules/McvManagerBotModule.cs b/OpenRA.Mods.Common/Traits/BotModules/McvManagerBotModule.cs index e4f12aec7b..59f71a61a2 100644 --- a/OpenRA.Mods.Common/Traits/BotModules/McvManagerBotModule.cs +++ b/OpenRA.Mods.Common/Traits/BotModules/McvManagerBotModule.cs @@ -202,12 +202,8 @@ namespace OpenRA.Mods.Common.Traits cells = cells.Shuffle(world.LocalRandom); foreach (var cell in cells) - { - if (!world.CanPlaceBuilding(cell + offset, actorInfo, bi, null)) - continue; - - return cell; - } + if (world.CanPlaceBuilding(cell + offset, actorInfo, bi, null)) + return cell; return null; };