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;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedGhostSystem))]
|
||||
[AutoGenerateComponentState]
|
||||
[AutoGenerateComponentState(true)]
|
||||
public sealed partial class GhostComponent : Component
|
||||
{
|
||||
// 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
|
||||
/// </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>
|
||||
[DataField("color"), AutoNetworkedField]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("color"), ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
||||
public Color color = Color.White;
|
||||
|
||||
[DataField("canReturnToBody"), AutoNetworkedField]
|
||||
|
||||
Reference in New Issue
Block a user