]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make automatic gasps not create a chat message (#28907)
authorVerm <32827189+Vermidia@users.noreply.github.com>
Thu, 13 Jun 2024 02:15:43 +0000 (21:15 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 02:15:43 +0000 (22:15 -0400)
No chat gasp

Content.Server/Body/Systems/RespiratorSystem.cs

index 4e6c02edbd64d8d6e3db63d8f5eb377e50d43c93..900920a14fe3ee51faa94c1f5bf53cd5980bd5b6 100644 (file)
@@ -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));