From 9ca266901762ec70e9fa483b26f1d8354d47e9ee Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sun, 7 Mar 2021 23:54:23 +0000 Subject: [PATCH] fix showing in conversations --- QSB/ConversationSync/Events/ConversationEvent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QSB/ConversationSync/Events/ConversationEvent.cs b/QSB/ConversationSync/Events/ConversationEvent.cs index 6fbeade5..a11b2160 100644 --- a/QSB/ConversationSync/Events/ConversationEvent.cs +++ b/QSB/ConversationSync/Events/ConversationEvent.cs @@ -1,6 +1,7 @@ using QSB.Events; using QSB.Player; using QSB.WorldSync; +using System.Text.RegularExpressions; namespace QSB.ConversationSync.Events { @@ -31,6 +32,7 @@ namespace QSB.ConversationSync.Events { case ConversationType.Character: var translated = TextTranslation.Translate(message.Message).Trim(); + translated = Regex.Replace(translated, @"", ""); ConversationManager.Instance.DisplayCharacterConversationBox(message.ObjectId, translated); break;