Validate that client prototypes are serializable (#18780)

This commit is contained in:
Leon Friedrich
2023-08-07 15:44:53 +12:00
committed by GitHub
parent 5c6013ab07
commit 5cc5a8c82e
5 changed files with 34 additions and 28 deletions

View File

@@ -1,11 +1,10 @@
using Robust.Shared.Utility;
namespace Content.Shared.Atmos.Components;
[RegisterComponent]
public sealed class PipeAppearanceComponent : Component
{
[DataField("rsi")]
public string RsiPath = "Structures/Piping/Atmospherics/pipe.rsi";
[DataField("baseState")]
public string State = "pipeConnector";
[DataField("sprite")]
public SpriteSpecifier.Rsi Sprite = new(new("Structures/Piping/Atmospherics/pipe.rsi"), "pipeConnector");
}