From b7fe64c174a73ff5686e4ab3b1142b8709d93ef0 Mon Sep 17 00:00:00 2001 From: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:11:09 +0300 Subject: [PATCH] Remove the Stupid Station Records Check From News (#739) # Description It was never used but caused annoyance all the time: the listening post could never use the news console and ghosts/centcom officials/skeletons could never publish news because of it. (This was not tested, I recommend either waiting til I test it or making someone else test it before merging) # Changelog :cl: - fix: You no longer need to have a station record to publish news. Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com> --- Content.Server/MassMedia/Systems/NewsSystem.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Content.Server/MassMedia/Systems/NewsSystem.cs b/Content.Server/MassMedia/Systems/NewsSystem.cs index 2b18b57ff8b..c313b0d4ccd 100644 --- a/Content.Server/MassMedia/Systems/NewsSystem.cs +++ b/Content.Server/MassMedia/Systems/NewsSystem.cs @@ -141,9 +141,6 @@ private void OnWriteUiPublishMessage(Entity 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;