Slight localization func cleanup (#11380)

This commit is contained in:
Kara
2022-10-18 19:51:18 -07:00
committed by GitHub
parent 592f135d92
commit 7ad867fa0f
8 changed files with 23 additions and 81 deletions

View File

@@ -19,7 +19,7 @@ namespace Content.Server.Cuffs.Components
{
[Dependency] private readonly IEntityManager _entities = default!;
[Dependency] private readonly IAdminLogManager _adminLogger = default!;
private string _brokenName = string.Empty;
private string _brokenDesc = string.Empty;
@@ -83,7 +83,7 @@ namespace Content.Server.Cuffs.Components
/// The iconstate used for broken handcuffs
/// </summary>
[ViewVariables]
[DataField("brokenName")]
[DataField("brokenName", readOnly: true)]
public string BrokenName
{
get => _brokenName;
@@ -94,7 +94,7 @@ namespace Content.Server.Cuffs.Components
/// The iconstate used for broken handcuffs
/// </summary>
[ViewVariables]
[DataField("brokenDesc")]
[DataField("brokenDesc", readOnly: true)]
public string BrokenDesc
{
get => _brokenDesc;