mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
fix ghost recoloring (#20001)
This commit is contained in:
parent
3c0439167a
commit
7eae2bb921
1 changed files with 2 additions and 3 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue