From: Verm <32827189+Vermidia@users.noreply.github.com> Date: Thu, 13 Jun 2024 02:15:43 +0000 (-0500) Subject: Make automatic gasps not create a chat message (#28907) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0e32d632faf27dd6903369237328dffbaa96dc0a;p=space-station-14.git Make automatic gasps not create a chat message (#28907) No chat gasp --- diff --git a/Content.Server/Body/Systems/RespiratorSystem.cs b/Content.Server/Body/Systems/RespiratorSystem.cs index 4e6c02edbd..900920a14f 100644 --- a/Content.Server/Body/Systems/RespiratorSystem.cs +++ b/Content.Server/Body/Systems/RespiratorSystem.cs @@ -95,7 +95,7 @@ public sealed class RespiratorSystem : EntitySystem if (_gameTiming.CurTime >= respirator.LastGaspEmoteTime + respirator.GaspEmoteCooldown) { respirator.LastGaspEmoteTime = _gameTiming.CurTime; - _chat.TryEmoteWithChat(uid, respirator.GaspEmote, ignoreActionBlocker: true); + _chat.TryEmoteWithChat(uid, respirator.GaspEmote, ChatTransmitRange.HideChat, ignoreActionBlocker: true); } TakeSuffocationDamage((uid, respirator));