From: Perry Fraser Date: Mon, 14 Jul 2025 07:30:53 +0000 (-0400) Subject: fix: ghosts shouldn't see whisper obfuscation (#38202) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=bd853b60de27889e56033370eb82bdba5266d7db;p=space-station-14.git fix: ghosts shouldn't see whisper obfuscation (#38202) --- diff --git a/Content.Server/Chat/Systems/ChatSystem.cs b/Content.Server/Chat/Systems/ChatSystem.cs index e0e6273f77..0b3a9c0a66 100644 --- a/Content.Server/Chat/Systems/ChatSystem.cs +++ b/Content.Server/Chat/Systems/ChatSystem.cs @@ -535,7 +535,7 @@ public sealed partial class ChatSystem : SharedChatSystem if (MessageRangeCheck(session, data, range) != MessageRangeCheckResult.Full) continue; // Won't get logged to chat, and ghosts are too far away to see the pop-up, so we just won't send it to them. - if (data.Range <= WhisperClearRange) + if (data.Range <= WhisperClearRange || data.Observer) _chatManager.ChatMessageToOne(ChatChannel.Whisper, message, wrappedMessage, source, false, session.Channel); //If listener is too far, they only hear fragments of the message else if (_examineSystem.InRangeUnOccluded(source, listener, WhisperMuffledRange))