fix ghost recoloring (#20001)
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
namespace Content.Shared.Ghost;
|
namespace Content.Shared.Ghost;
|
||||||
|
|
||||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedGhostSystem))]
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedGhostSystem))]
|
||||||
[AutoGenerateComponentState]
|
[AutoGenerateComponentState(true)]
|
||||||
public sealed partial class GhostComponent : Component
|
public sealed partial class GhostComponent : Component
|
||||||
{
|
{
|
||||||
// I have no idea what this means I just wanted to kill comp references.
|
// I have no idea what this means I just wanted to kill comp references.
|
||||||
@@ -82,8 +82,7 @@ public sealed partial class GhostComponent : Component
|
|||||||
/// Ghost color
|
/// Ghost color
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>Used to allow admins to change ghost colors. Should be removed if the capability to edit existing sprite colors is ever added back.</remarks>
|
/// <remarks>Used to allow admins to change ghost colors. Should be removed if the capability to edit existing sprite colors is ever added back.</remarks>
|
||||||
[DataField("color"), AutoNetworkedField]
|
[DataField("color"), ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
||||||
[ViewVariables(VVAccess.ReadWrite)]
|
|
||||||
public Color color = Color.White;
|
public Color color = Color.White;
|
||||||
|
|
||||||
[DataField("canReturnToBody"), AutoNetworkedField]
|
[DataField("canReturnToBody"), AutoNetworkedField]
|
||||||
|
|||||||
Reference in New Issue
Block a user