Fix IDs without station records not being able to have nonstandard contents (#34921)
* fix ID console resetting to passenger * review * whoopsie! whitespace --------- Co-authored-by: Milon <milonpl.git@proton.me>
This commit is contained in:
@@ -36,6 +36,13 @@ public sealed partial class IdCardComponent : Component
|
||||
[AutoNetworkedField]
|
||||
public ProtoId<JobIconPrototype> JobIcon = "JobIconUnknown";
|
||||
|
||||
/// <summary>
|
||||
/// Holds the job prototype when the ID card has no associated station record
|
||||
/// </summary>
|
||||
[DataField]
|
||||
[AutoNetworkedField]
|
||||
public ProtoId<AccessLevelPrototype>? JobPrototype;
|
||||
|
||||
/// <summary>
|
||||
/// The proto IDs of the departments associated with the job
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user