Skip to content

Commit

Permalink
Fix vow of silence popup spam (#8974)
Browse files Browse the repository at this point in the history
  • Loading branch information
themias authored Jun 21, 2022
1 parent d877dde commit 3727696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Shared.ActionBlocker;
using Content.Shared.ActionBlocker;
using Content.Shared.Chat.TypingIndicator;
using Robust.Server.GameObjects;

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3727696

Please sign in to comment.