Use Tuple syntax
This commit is contained in:
@@ -262,9 +262,9 @@ namespace OpenRA.Mods.Common.Orders
|
||||
{
|
||||
foreach (var t in BuildingUtils.GetLineBuildCells(world, topLeft, actorInfo, buildingInfo, owner))
|
||||
{
|
||||
var lineBuildable = world.IsCellBuildable(t.First, actorInfo, buildingInfo);
|
||||
var lineCloseEnough = buildingInfo.IsCloseEnoughToBase(world, world.LocalPlayer, actorInfo, t.First);
|
||||
footprint.Add(t.First, MakeCellType(lineBuildable && lineCloseEnough, true));
|
||||
var lineBuildable = world.IsCellBuildable(t.Cell, actorInfo, buildingInfo);
|
||||
var lineCloseEnough = buildingInfo.IsCloseEnoughToBase(world, world.LocalPlayer, actorInfo, t.Cell);
|
||||
footprint.Add(t.Cell, MakeCellType(lineBuildable && lineCloseEnough, true));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user