fix ghost component (#5000)
This commit is contained in:
@@ -7,7 +7,8 @@ using Robust.Shared.IoC;
|
|||||||
namespace Content.Client.Ghost
|
namespace Content.Client.Ghost
|
||||||
{
|
{
|
||||||
[RegisterComponent]
|
[RegisterComponent]
|
||||||
public class GhostComponent : SharedGhostComponent
|
[ComponentReference(typeof(SharedGhostComponent))]
|
||||||
|
public sealed class GhostComponent : SharedGhostComponent
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ using Robust.Shared.GameObjects;
|
|||||||
namespace Content.Server.Ghost.Components
|
namespace Content.Server.Ghost.Components
|
||||||
{
|
{
|
||||||
[RegisterComponent]
|
[RegisterComponent]
|
||||||
public class GhostComponent : SharedGhostComponent
|
[ComponentReference(typeof(SharedGhostComponent))]
|
||||||
|
public sealed class GhostComponent : SharedGhostComponent
|
||||||
{
|
{
|
||||||
public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero;
|
public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user