diff --git a/Content.Client/Ghost/GhostComponent.cs b/Content.Client/Ghost/GhostComponent.cs index 1f38dc84af..4499834b7b 100644 --- a/Content.Client/Ghost/GhostComponent.cs +++ b/Content.Client/Ghost/GhostComponent.cs @@ -7,7 +7,8 @@ using Robust.Shared.IoC; namespace Content.Client.Ghost { [RegisterComponent] - public class GhostComponent : SharedGhostComponent + [ComponentReference(typeof(SharedGhostComponent))] + public sealed class GhostComponent : SharedGhostComponent { [Dependency] private readonly IPlayerManager _playerManager = default!; diff --git a/Content.Server/Ghost/Components/GhostComponent.cs b/Content.Server/Ghost/Components/GhostComponent.cs index 0a2dcbc3d8..5752451106 100644 --- a/Content.Server/Ghost/Components/GhostComponent.cs +++ b/Content.Server/Ghost/Components/GhostComponent.cs @@ -5,7 +5,8 @@ using Robust.Shared.GameObjects; namespace Content.Server.Ghost.Components { [RegisterComponent] - public class GhostComponent : SharedGhostComponent + [ComponentReference(typeof(SharedGhostComponent))] + public sealed class GhostComponent : SharedGhostComponent { public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero; }