makes prototypeinheritance opt in

This commit is contained in:
Paul
2021-03-05 11:13:00 +01:00
parent 14f2deb47f
commit 73cef00aeb
38 changed files with 7 additions and 156 deletions

View File

@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using System.Collections.Generic;
using JetBrains.Annotations;
using Robust.Shared.Map;
@@ -15,10 +15,6 @@ namespace Content.Shared.Maps
[ViewVariables]
string IPrototype.ID => Name;
[ViewVariables]
[field: DataField("parent")]
public string? Parent { get; }
[field: DataField("name", required: true)] public string Name { get; } = string.Empty;
public ushort TileId { get; private set; }