RCS0056 - roslynator_max_line_length = 160
This commit is contained in:
committed by
Matthias Mailänder
parent
9d5d2ab493
commit
0649f3dc32
@@ -294,7 +294,12 @@ namespace OpenRA.Mods.Common.Orders
|
||||
{
|
||||
var isCloseEnough = buildingInfo.IsCloseEnoughToBase(world, world.LocalPlayer, actorInfo, topLeft);
|
||||
foreach (var t in buildingInfo.Tiles(topLeft))
|
||||
footprint.Add(t, MakeCellType(isCloseEnough && world.IsCellBuildable(t, actorInfo, buildingInfo) && (resourceLayer == null || resourceLayer.GetResource(t).Type == null)));
|
||||
footprint.Add(
|
||||
t,
|
||||
MakeCellType(
|
||||
isCloseEnough &&
|
||||
world.IsCellBuildable(t, actorInfo, buildingInfo) &&
|
||||
(resourceLayer == null || resourceLayer.GetResource(t).Type == null)));
|
||||
}
|
||||
|
||||
return preview?.Render(wr, topLeft, footprint) ?? Enumerable.Empty<IRenderable>();
|
||||
|
||||
Reference in New Issue
Block a user