mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
fix <Pause/> showing in conversations
This commit is contained in:
parent
859f4b27a0
commit
9ca2669017
@ -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, @"<Pause=?\d*\.?\d*\/>", "");
|
||||
ConversationManager.Instance.DisplayCharacterConversationBox(message.ObjectId, translated);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user