Tiles Name->ID, DisplayName->Name (#5991)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user