Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 committed Jan 4, 2025
1 parent df217e1 commit 828341c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Content.Shared/Access/AccessLevelPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ public sealed partial class AccessLevelPrototype : IPrototype
public string? Name { get; set; }

[DataField("alertAccesses")]
public Dictionary<string, ProtoId<AccessGroupPrototype>> AlertAccesses = new();
public Dictionary<CurrentAlertLevel, ProtoId<AccessGroupPrototype>> AlertAccesses = new();

public enum CurrentAlertLevel : byte
{
blue,
red,
yellow,
gamma
}

public string GetAccessLevelName()
{
Expand Down

0 comments on commit 828341c

Please sign in to comment.