Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -3,7 +3,6 @@ using Robust.Server.Player;
|
||||
using Robust.Shared.Reflection;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
|
||||
namespace Content.Server.UserInterface
|
||||
{
|
||||
[RegisterComponent]
|
||||
@@ -19,7 +18,6 @@ namespace Content.Server.UserInterface
|
||||
[DataField("inHandsOnly")]
|
||||
public bool InHandsOnly { get; set; } = false;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("singleUser")]
|
||||
public bool SingleUser { get; set; } = false;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ public sealed class IntrinsicUIComponent : Component, ISerializationHooks
|
||||
/// <summary>
|
||||
/// List of UIs and their actions that this entity has.
|
||||
/// </summary>
|
||||
[ViewVariables, DataField("uis", required: true)]
|
||||
[DataField("uis", required: true)]
|
||||
public List<IntrinsicUIEntry> UIs = new();
|
||||
|
||||
void ISerializationHooks.AfterDeserialization()
|
||||
|
||||
Reference in New Issue
Block a user