From: LankLTE <135308300+LankLTE@users.noreply.github.com> Date: Mon, 11 Sep 2023 04:36:26 +0000 (-0700) Subject: fix ghost recoloring (#20001) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7eae2bb921201b359dd9756b4a0d9ee848da7b07;p=space-station-14.git fix ghost recoloring (#20001) --- diff --git a/Content.Shared/Ghost/GhostComponent.cs b/Content.Shared/Ghost/GhostComponent.cs index 8aea2c0833..63fc64c6ce 100644 --- a/Content.Shared/Ghost/GhostComponent.cs +++ b/Content.Shared/Ghost/GhostComponent.cs @@ -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 /// /// Used to allow admins to change ghost colors. Should be removed if the capability to edit existing sprite colors is ever added back. - [DataField("color"), AutoNetworkedField] - [ViewVariables(VVAccess.ReadWrite)] + [DataField("color"), ViewVariables(VVAccess.ReadWrite), AutoNetworkedField] public Color color = Color.White; [DataField("canReturnToBody"), AutoNetworkedField]