makes prototypeinheritance opt in
This commit is contained in:
@@ -19,10 +19,6 @@ namespace Content.Shared.Alert
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[DataField("order")] private readonly List<(string type, string alert)> _order = new();
|
||||
|
||||
private readonly Dictionary<AlertType, int> _typeToIdx = new();
|
||||
|
||||
@@ -20,10 +20,6 @@ namespace Content.Shared.Alert
|
||||
[ViewVariables]
|
||||
string IPrototype.ID => AlertType.ToString();
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Type of alert, no 2 alert prototypes should have the same one.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user