Add yaml linting for entity prototype parent (#1749)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
ShadowCommander
2021-05-11 12:54:51 -07:00
committed by GitHub
parent cea088f4b4
commit 74257c72ee

View File

@@ -8,6 +8,8 @@ using Robust.Shared.Log;
using Robust.Shared.Maths;
using Robust.Shared.Serialization.Manager;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Utility;
using Robust.Shared.ViewVariables;
namespace Robust.Shared.Prototypes
@@ -135,7 +137,7 @@ namespace Robust.Shared.Prototypes
/// The prototype we inherit from.
/// </summary>
[ViewVariables]
[DataField("parent")]
[DataField("parent", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string? Parent { get; private set; }
/// <summary>