From 3727696c0114199ff688c0faf2f347d83c605da3 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Mon, 20 Jun 2022 22:02:55 -0400 Subject: [PATCH] Fix vow of silence popup spam (#8974) --- Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs b/Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs index 1c919b7ecf26..829c20a76882 100644 --- a/Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs +++ b/Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs @@ -1,4 +1,4 @@ -using Content.Shared.ActionBlocker; +using Content.Shared.ActionBlocker; using Content.Shared.Chat.TypingIndicator; using Robust.Server.GameObjects; @@ -43,7 +43,7 @@ private void OnClientTypingChanged(TypingChangedEvent ev) } // check if this entity can speak or emote - if (!_actionBlocker.CanSpeak(ev.Uid) && !_actionBlocker.CanEmote(ev.Uid)) + if (!_actionBlocker.CanEmote(ev.Uid) && !_actionBlocker.CanSpeak(ev.Uid)) { // nah, make sure that typing indicator is disabled SetTypingIndicatorEnabled(ev.Uid, false);