fix ghost component (#5000)
This commit is contained in:
parent
77c28c0302
commit
610f45e5cd
|
|
@ -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!;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue