add ability to edit ghost colors (#17662)

This commit is contained in:
Chief-Engineer
2023-06-27 04:51:01 -05:00
committed by GitHub
parent 64700efce9
commit 0b8b107175
3 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,14 @@ namespace Content.Shared.Ghost
}
}
/// <summary>
/// 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)]
public Color color = Color.White;
[DataField("canReturnToBody"), AutoNetworkedField]
private bool _canReturnToBody;
}