Skip to content

Commit

Permalink
вроде бесполезная проверка
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 committed Jan 6, 2025
1 parent b6ca0d4 commit 469a3da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Content.Server/Access/Systems/AccessSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ public void Update(Entity<AccessReaderComponent> entity)
if (!TryComp<AlertLevelComponent>(_station.GetOwningStation(entity.Owner), out var alerts))
return;

if (entity.Comp.AlertAccesses.Count == 0)
return;

if (alerts.AlertLevels == null)
return;

Expand Down

0 comments on commit 469a3da

Please sign in to comment.