Add-d-ds s-s-stut-ttering t-to the g-gam-me (#4901)
This commit is contained in:
committed by
GitHub
parent
50802b123f
commit
3001ea38cc
@@ -10,7 +10,7 @@ namespace Content.Server.Speech
|
||||
{
|
||||
[Dependency] private readonly IChatManager _chatManager = default!;
|
||||
|
||||
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?])");
|
||||
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?])", RegexOptions.Compiled);
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user