Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 committed Jan 7, 2025
1 parent 6ae40f0 commit 69107fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Content.Server/Access/Systems/AccessSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ public void Update(Entity<AccessReaderComponent> entity)
{
if (alerts.CurrentLevel.Contains(level.Key))
{
entity.Comp.AlertAccesses.TryGetValue(level.Value, out var value);
entity.Comp.Group = value;
break;
if (entity.Comp.AlertAccesses.TryGetValue(level.Value, out var value))
{
entity.Comp.Group = value;
break;
}
}
}
}
Expand Down

0 comments on commit 69107fa

Please sign in to comment.