Cleans up StatusIconSystem and fixing some bugs (#28270)
This commit is contained in:
@@ -97,8 +97,8 @@ namespace Content.Shared.Roles
|
||||
[DataField("jobEntity", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string? JobEntity = null;
|
||||
|
||||
[DataField("icon", customTypeSerializer: typeof(PrototypeIdSerializer<StatusIconPrototype>))]
|
||||
public string Icon { get; private set; } = "JobIconUnknown";
|
||||
[DataField]
|
||||
public ProtoId<StatusIconPrototype> Icon { get; private set; } = "JobIconUnknown";
|
||||
|
||||
[DataField("special", serverOnly: true)]
|
||||
public JobSpecial[] Special { get; private set; } = Array.Empty<JobSpecial>();
|
||||
|
||||
Reference in New Issue
Block a user