Improves the JobSpecial system. (#4626)
* Improves the JobSpecial system. * clean up code
This commit is contained in:
committed by
GitHub
parent
4fffb3c582
commit
078a62762f
@@ -50,8 +50,8 @@ namespace Content.Shared.Roles
|
||||
|
||||
[DataField("icon")] public string Icon { get; } = string.Empty;
|
||||
|
||||
[DataField("special")]
|
||||
public JobSpecial? Special { get; private set; }
|
||||
[DataField("special", serverOnly:true)]
|
||||
public JobSpecial[] Special { get; private set; } = Array.Empty<JobSpecial>();
|
||||
|
||||
[DataField("departments")]
|
||||
public IReadOnlyCollection<string> Departments { get; } = Array.Empty<string>();
|
||||
|
||||
Reference in New Issue
Block a user