From: LankLTE <135308300+LankLTE@users.noreply.github.com> Date: Sun, 31 Dec 2023 07:01:05 +0000 (-0800) Subject: message notes no longer show seen notes in chat (#23271) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3737266285f7ddf44d0861b8aeeebfdeb9239f60;p=space-station-14.git message notes no longer show seen notes in chat (#23271) Fix chat messages --- diff --git a/Content.Server/Administration/Notes/AdminNotesSystem.cs b/Content.Server/Administration/Notes/AdminNotesSystem.cs index f2eb033dca..8fc7a8ebaa 100644 --- a/Content.Server/Administration/Notes/AdminNotesSystem.cs +++ b/Content.Server/Administration/Notes/AdminNotesSystem.cs @@ -83,9 +83,10 @@ public sealed class AdminNotesSystem : EntitySystem, IPostInjectInit var ui = new AdminMessageEui(); _euis.OpenEui(ui, e.Session); ui.SetMessage(message); + + // Only send the message if they haven't seen it yet + _chat.DispatchServerMessage(e.Session, messageString); } - // Send the message anyway - _chat.DispatchServerMessage(e.Session, messageString); } }