Remove field: from DataField attributes (#3932)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#nullable enable
|
||||
using System.Threading;
|
||||
using Content.Shared.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using System.Threading;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Engineering
|
||||
{
|
||||
@@ -16,7 +16,7 @@ namespace Content.Server.GameObjects.Components.Engineering
|
||||
public override uint? NetID => ContentNetIDs.DISASSEMBLE_ON_ACTIVATE;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string? Prototype { get; }
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
Reference in New Issue
Block a user