Use automatic component registration.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
namespace Content.Server.GameObjects.Components.Interactable.Tools
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Interactable.Tools
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class ScrewdriverComponent : ToolComponent
|
||||
{
|
||||
/// <summary>
|
||||
@@ -7,4 +10,4 @@
|
||||
/// </summary>
|
||||
public override string Name => "Screwdriver";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user