mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-14 19:29:53 +01:00
Add EditorHidden member to ContentTileDefinition (#42564)
Add EditorHidden member
This commit is contained in:
@@ -129,6 +129,11 @@ namespace Content.Shared.Maps
|
||||
/// </summary>
|
||||
[DataField("indestructible")] public bool Indestructible = false;
|
||||
|
||||
/// <summary>
|
||||
/// Hide this tile in the tile placement editor.
|
||||
/// </summary>
|
||||
[DataField] public bool EditorHidden { get; private set; } = false;
|
||||
|
||||
public void AssignTileId(ushort id)
|
||||
{
|
||||
TileId = id;
|
||||
|
||||
Reference in New Issue
Block a user