Fix Tilewindow CMD (#5816)

* Fix Tilewindow CMD

* Haha...changes

---------

Co-authored-by: Velcroboy <velcroboy333@hotmail.com>
This commit is contained in:
Velcroboy
2026-05-15 21:43:20 +02:00
committed by GitHub
co-authored by Velcroboy
parent 115c06ba8b
commit 3a05ef885c
@@ -23,6 +23,7 @@ namespace Content.Server.Construction.Commands
public static readonly ProtoId<ContentTileDefinition> TilePrototypeId = "FloorReinforced";
public static readonly ProtoId<TagPrototype> WindowTag = "Window";
public static readonly ProtoId<TagPrototype> DirectionalTag = "Directional";
public static readonly ProtoId<TagPrototype> DiagonalTag = "Diagonal";
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
@@ -80,7 +81,7 @@ namespace Content.Server.Construction.Commands
continue;
}
if (tagSystem.HasTag(child, DirectionalTag))
if (tagSystem.HasTag(child, DirectionalTag) || tagSystem.HasTag(child, DiagonalTag))
{
continue;
}