Use automatic component registration.
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Content.Shared.GameObjects.Components.Materials
|
||||
/// Component to store data such as "this object is made out of steel".
|
||||
/// This is not a storage system for say smelteries.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class MaterialComponent : Component
|
||||
{
|
||||
public const string SerializationCache = "mat";
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
||||
/// <summary>
|
||||
/// Component required for a player to be able to examine things.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ExaminerComponent : Component
|
||||
{
|
||||
public override string Name => "Examiner";
|
||||
|
||||
Reference in New Issue
Block a user