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.
/// 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]