Skip to content

Commit

Permalink
Remove the stupid station records check
Browse files Browse the repository at this point in the history
Signed-off-by: Mnemotechnican <[email protected]>
  • Loading branch information
Mnemotechnician committed Aug 17, 2024
1 parent 6615d83 commit 177f489
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Content.Server/MassMedia/Systems/NewsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ private void OnWriteUiPublishMessage(Entity<NewsWriterComponent> ent, ref NewsWr
if (msg.Session.AttachedEntity is not { } author)
return;

if (!_accessReader.FindStationRecordKeys(author, out _))
return;

string? authorName = null;
if (_idCardSystem.TryFindIdCard(author, out var idCard))
authorName = idCard.Comp.FullName;
Expand Down

0 comments on commit 177f489

Please sign in to comment.