Fix line build for multi-cell neighbours.
This commit is contained in:
@@ -18,6 +18,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[Desc("This actor is of LineBuild 'NodeType'...")]
|
||||
public readonly HashSet<string> Types = new HashSet<string> { "wall" };
|
||||
|
||||
[Desc("Cells (outside the footprint) that contain cells that can connect to this actor.")]
|
||||
public readonly CVec[] Connections = new[] { new CVec(1, 0), new CVec(0, 1), new CVec(-1, 0), new CVec(0, -1) };
|
||||
}
|
||||
|
||||
public class LineBuildNode { }
|
||||
|
||||
Reference in New Issue
Block a user