Tiles Name->ID, DisplayName->Name (#5991)

This commit is contained in:
wrexbe
2022-01-04 16:26:07 -08:00
committed by GitHub
parent a153f76c5d
commit 4571dca1eb
9 changed files with 81 additions and 85 deletions

View File

@@ -34,7 +34,7 @@ namespace Content.Shared.Construction.Conditions
var tile = tileFound.Value.Tile.GetContentTileDefinition();
foreach (var targetTile in TargetTiles)
{
if (tile.Name == targetTile) {
if (tile.ID == targetTile) {
return true;
}
}